Re:Replit now supports every programming language in Nix
by WmyEE0UsWAwC2i on Tuesday May 25, 2021 @08:05AM
(#27275818)
Does this applies to Haskell? I tried a project that pulled the lens library and it exceeded the memory/time limitations (in 2019)
[ Parent
| on HN ]
Re:Replit now supports every programming language in Nix
by cbrewster on Tuesday May 25, 2021 @10:59AM
(#27277662)
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.
Re:Replit now supports every programming language in Nix
by pwm on Tuesday May 25, 2021 @01:37PM
(#27279819)
Yup, Haskell has great nix support. Shameless plug if you wanna do do local (ie. non-replit) Haskell:
https://github.com/pwm/nixkell