Hacker News new | ask | show | jobs
by noloblo 1185 days ago
This is by far the easiest intro to using haskell the best fp using nix

Nix seems like alien language but it starts getting easier with usage

nix-env -iA nixpkgs.direnv

i was looking for a package manager that replaces the old paradigm, and after reading up on nix i hopped into its community only to find out they're mostly Haskell people using it instead of cabal, which is the exact reason i was looking for a new package manager to begin with

And configuring direnv based on the article

To make it so lazy that every time you cd into a directory your nix environment is automatically loaded this is pure functional programming magic