haskell-template
reflex
Our great sponsors
haskell-template | reflex | |
---|---|---|
7 | 17 | |
208 | 1,057 | |
- | 0.2% | |
7.9 | 4.4 | |
7 days ago | 17 days ago | |
Nix | Haskell | |
MIT 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.
haskell-template
-
On the verge of giving up learning Haskell because of the terrible tooling.
I am a Haskell newbie myself. Found nix flakes and https://github.com/srid/haskell-template really nice to start with (of course some learning curve is unavoidable).
-
Simple GHC stack for a novice
If you wanna get started with Haskell on Nix, check out Sridhar Ratnakumar's Haskell template for Nix. You can easily clone the repo and move your Haskell code into it, especially if you're still a novice (as you likely won't be dealing with a HUGE codebase).
-
haskell-flake: A `flake-parts` Nix module for Haskell development.
I'd say that's up to you. haskell-template did recently switch to this; you can see the changes in this PR, which is all limited to flake.nix.
-
Best practices for Haskell on M1 with Nix?
Could you open an issue here with the full error message?
-
Looking for IDE that is suitable for learning Haskell
I think you should use ghcup because Nix has a higher learning curve ... BUT if you ever want to try out Nix, there is https://github.com/srid/haskell-template which sets everything up for you so that things "just work" in VSCode.
reflex
-
On inheritance and why it's good Rust doesn't have it
There's other people around here who would like to know your opinion about these GUI frameworks! I haven't written a GUI in Rust personally, but my favorite GUI framework is not at all OOP: https://reflex-frp.org/
-
Reflex – Web apps in pure Python
Not to be confused with Reflex, allowing web apps in pure Haskell: https://reflex-frp.org/
-
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.
- Reflex FRP
-
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.
-
Building on iPad
Reflex natively supports iOS, along with Android, desktop and web. I would recommend it for functional reactive programming in Haskell: https://reflex-frp.org
- Functional Reactive Programming
-
HTML5 Ubuntu App with native component?
It's been awhile since I've tried to get into Ubuntu Touch/Linux mobile development in earnest. I'm currently working on an app using the reflex framework that I hope to eventually target Android, iOS, Desktop, and Linux Mobile.
-
Event driven programming in haskell
If you're talking about the current Elm approach, I'm not sure. Otherwise, the paper I linked to notes some of the FRP libraries that existed at the time, some of which are still supported today (like reactive-banana), and otherwise I'd suggest looking at reflex, mentioned in the first post in this thread. I don't think it existed at the time the Elm paper came out.
What are some alternatives?
rust-nix-template - Rust project template with Nix (Flakes) and VSCode support
sodium - Sodium - Functional Reactive Programming (FRP) Library for multiple languages
ema - Change-aware static site generator for Haskell programmers
Elm - Compiler for Elm, a functional language for reliable webapps.
haskell.nix - Alternative Haskell Infrastructure for Nixpkgs
dunai - Classic FRP, Arrowized FRP, Reactive Programming, and Stream Programming, all via Monadic Stream Functions
haskell-flake - A `flake-parts` Nix module for Haskell development
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.
template-haskell - The Haskell template, configured for Gitpod (www.gitpod.io) to give you pre-built, ephemeral development environments in the cloud.
purescript - A strongly-typed language that compiles to JavaScript
nix-templates - Minimal reproducible nix flake templates
rhine - Haskell Functional Reactive Programming framework with type-level clocks