5
How to do package management?
(programming.dev)
The ones I have seen that are per-project are stack and nix, and cabal is used for system-wide
@SinTan1729@programming.dev try stack. take latest LTS snapshot from stackage. use package.yaml, don't write *.cabal files by hand. that should be it, the rest will be cargo-like experience
you can tag me/dm me if you have issues
Cabal is more than sufficient for my purposes nowadays. I'd recommend reading their Getting Started page:
https://cabal.readthedocs.io/en/3.10/getting-started.html
That gives an overview of the basic functions and for example how to add new dependencies.
For setting up the entire toolchain, I'd also recommend GHCUp's first steps guide: