reflex
dunai
Our great sponsors
- ONLYOFFICE ONLYOFFICE Docs — document collaboration in your environment
- CodiumAI - TestGPT | Generating meaningful tests for busy devs
- InfluxDB - Access the most powerful time series database as a service
- SonarQube - Static code analysis for 29 languages.
reflex | dunai | |
---|---|---|
15 | 6 | |
1,032 | 167 | |
0.8% | - | |
4.7 | 5.2 | |
7 days ago | about 1 month 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.
reflex
-
Interactive animations
FRP solutions sound very attractive. But reflex seems to be stuck on the outdated GHCJS, and I haven't been able to get it to build. The newer JS output in GHC doesn't yet have DOM support. And even if I used one of those, figuring out how to interact with a LaTeX renderer might be tricky.
-
The Quest for the Ultimate GUI Framework
I only have experience using Reflex, which I regard as the main contender for FRP UI libraries in the Haskell sphere. It's got a flashy website, but I think the documentation is a bit disorganized -- it took a long time for me to figure out how to get going with the library (you find some pieces of knowledge scattered here and there, if you look hard enough). My plan was to learn it well enough to onboard other people, but I don't think I could convince anyone who hasn't already decided that they're gonna make UIs in Haskell no matter the required effort.
-
Simple GHC stack for a novice
Once someone has spent a bunch of time with Haskell and sees the value, they will find Nix if it makes sense. Maybe they'll want to play with https://reflex-frp.org, or they'll discover they want a better way to package 3rd-party dependencies, or they start using NixOS and want to nix all the things, etc. etc. Or, maybe they'll never find a use for it, and that's okay.
- Functional Reactive Programming
-
Exploring ideas in Haskell
Now, I've been convinced to take another look at reflex. This quick reference seems very useful, most other resources seem to always discuss reflex-dom specifically. I'm not really interested in that.
-
Is Haskell capable of this?
Have a look at https://reflex-frp.org/, or https://owickstrom.github.io/gi-gtk-declarative/, they are an interesting and different way of working with UI in a non imperative way.
-
Why Do We Need Transpilation into JavaScript?
At present, here at Typeable we develop frontend in Haskell and use the web framework Reflex and the functional reactive programming (FRP). The source code in Haskell is transpiled into the JavaScript code using GHCJS.
-
Comparing Elm with Reflex
Reflex is the framework that allows creating reactive web applications in Haskell.
-
Discussion Thread
Also you’re the Haskell guy no? Found this while reading a Wikipedia article
-
Creating a Haskell Application Using Reflex. Part 1
Hi there! My name is Nikita. At Typeable, we develop frontend for some of our projects using the FRP approach, specifically, its Haskell implementation – reflex web-framework. The resources that offer guidelines for this framework are quite limited, so we decided to fill this gap more or less.
dunai
-
Interactive animations
Yes, and the new library dunai was just mentioned in this subreddit days ago.
-
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] 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.
What are some alternatives?
Elm - Compiler for Elm, a functional language for reliable webapps.
sodium - Sodium - Functional Reactive Programming (FRP) Library for multiple languages
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.
purescript - A strongly-typed language that compiles to JavaScript
reflex-dom-contrib
rhine - Haskell Functional Reactive Programming framework with type-level clocks
obelisk - Functional reactive web and mobile applications, with batteries included.
helm
gi-gtk-declarative - Declarative GTK+ programming in Haskell
reflex-animation
Yampa - Functional Reactive Programming domain-specific language for efficient hybrid systems
netwire - FRP library