I want to install stack for a Haskell project (reading Get Programming with Haskell). There are two packages listed, one simply stack
and the other haskellPackages.stack
. Do I need both? How do I know which to choose?
Thanks
I want to install stack for a Haskell project (reading Get Programming with Haskell). There are two packages listed, one simply stack
and the other haskellPackages.stack
. Do I need both? How do I know which to choose?
Thanks
As a rule of thumb, if you want to run it use the top level package, if you want to import it in your code you’re thehaskellPackages
.
This isn’t 100% but I think it’s a good enough guideline.
Thank you for your help.