Hacker News new | ask | show | jobs
by WmyEE0UsWAwC2i 1856 days ago
Does this applies to Haskell? I tried a project that pulled the lens library and it exceeded the memory/time limitations (in 2019)
3 comments

Yup, you can setup Haskell with Nix. I'm not too familiar with Haskell, but it looks like Nix even has a collection of Haskell packages (including lens). This looks like it is a good resource for getting started with Nix + Haskell https://notes.srid.ca/haskell-nix, you should be able to follow along in a Nix repl. I recommend forking on of the example repls from the blog post.
Yup, Haskell has great nix support. Shameless plug if you wanna do do local (ie. non-replit) Haskell: https://github.com/pwm/nixkell
It should. I'm not a Haskell-er, but there are a lot of Haskellers in the Nix community.