3 ms·
> Really hoping OCaml and Haskell can improve their package management story - they are getting there, but it still holds me back from really using them on a da
by ghostwriter 6y ago
> Really hoping OCaml and Haskell can improve their package management story - they are getting there, but it still holds me back from really using them on a daily basis.
Cabal 3.x with Nix-style buildscovers all packaging needs that I ever had with Haskell ecosystem[1]. And there's a new wave of tooling based on incremental Nix builds, that you can begin using today [2]
[1] https://cabal.readthedocs.io/en/latest/nix-local-build-overview.html https://cabal.readthedocs.io/en/latest/nix-local-build-overv...
[2] https://github.com/nmattia/snack https://github.com/nmattia/snack
- bjz_ 6y agoYeah, it's really great to see the progress there. However, afaik, it still doesn't freeze packages by default, or let you have multiple packages of the same version in a dependency tree[1]. The former can be worked around, but it's annoying that it's not the default. The latter is more frustrating however! [1] https://news.ycombinator.com/item?id=23454711 https://news.ycombinator.com/item?id=23454711
- lallysingh 6y agoStack does this, if I understand what you're saying. Stack+nix has worked quite well for me for a few projects.
- marcosdumay 6y agoYep. Cabal 3.x is great, better than anything else I've seen for any other language. As the article says, it just needs to correct the default behavior (deprecating the old behavior is on the roadmap, interestingly, the documentation doesn't even say what is the standard right now) and some improvements on usability (just better docs goes a long way).