dunai
reactive-banana
Our great sponsors
dunai | reactive-banana | |
---|---|---|
6 | 5 | |
188 | 519 | |
- | - | |
8.7 | 5.2 | |
about 2 months ago | 3 months ago | |
Haskell | Haskell | |
BSD 3-clause "New" or "Revised" License | BSD 3-clause "New" or "Revised" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
dunai
-
Interactive animations
Yes, and the new library dunai was just mentioned in this subreddit days ago.
- [ANN] dunai-0.11.0, dunai-test-0.11.0, bearriver-0.14.2
-
Looking for projects that need developers.
I'd love to have help with Yampa & Dunai. Both are related FRP frameworks. Yampa has been around for 20 years, dunai has been around for 8. Both have regular releases every 2 months.
-
[ANN] dunai-0.10.1 and bearriver-0.14.1
The github repo is located at: https://github.com/ivanperez-keera/dunai
-
[ANN] dunai-0.9.0, dunai-test-0.9.0, bearriver-0.13.6
Release: https://github.com/ivanperez-keera/dunai/releases/tag/v0.9.0.
-
[ANN] Yampa 0.13.6
If you haven't, I recommend you take a look at dunai . Dunai allows easier extension using custom monads, and has specific support for ExceptT.
reactive-banana
-
Haskell, JS, and WebDev?
As I grew up on a Macintosh, I was always interested in graphical user interfaces. In my free time, I'm currently working on refreshing my reactive-banana library so that it will hopefully work well with the upcoming JavaScript backend. (The library relies on a few non-trivial garbage collector features, which were not implemented in GHCJS a decade ago. Essentially, I ended up with a program that gave different results, depending on whether it was compiled with GHC native or with GHCJS. 😅)
-
Any haskell-like languages with native FRP?
Another FRP implementation that I think is quite simple is reactive-banana. Heinrich recently refactored the module hierarchy to stratify it based on low-level, mid-level and high-level abstractions: https://github.com/HeinrichApfelmus/reactive-banana/tree/master/reactive-banana/src/Reactive/Banana/Prim
-
Applicatives should usually implement Semigroup and Monoid
I agree! Having foldMap be available in a monadic context is a big win - here's an example of me asking for it in reactive-banana, along with a motivating example - https://github.com/HeinrichApfelmus/reactive-banana/issues/222. Library authors, please consider adding these instances - your users will thank you!
-
How to prevent a deadlock in reactive-banana with event-switching? (Exception: thread blocked indefinitely in an MVar operation)
There are some examples that also use event-switching, like https://github.com/HeinrichApfelmus/reactive-banana/blob/master/reactive-banana-wx/src/BarTab.hs , which also seems to use execute. They use <$ though instead of <$>:
What are some alternatives?
reflex - Interactive programs without callbacks or side-effects. Functional Reactive Programming (FRP) uses composable events and time-varying values to describe interactive systems as pure functions. Just like other pure functional code, functional reactive code is easier to get right on the first try, maintain, and reuse.
DefendTheKing - A simple multiplayer RTS game
Yampa - Functional Reactive Programming domain-specific language for efficient hybrid systems
rhine - Haskell Functional Reactive Programming framework with type-level clocks
reactive-banana-sdl2 - reactive banana to sdl2 bindings
reactive-bacon - FRP (functional reactive programming) framework inspired by RX and Iteratee
reflex-dom - Web applications without callbacks or side-effects. Reflex-DOM brings the power of functional reactive programming (FRP) to the web. Build HTML and other Document Object Model (DOM) data with a pure functional interface.
yampa-glut - Yampa adapter for GLUT
RxHaskell
netwire - FRP library