Stack, Cabal etc
Start a new stack project
stack new [project-name] simpleRun ghci
stack ghciBuild and run executable
stack build && stack exec package-name-exeInstall a dependency
cabal update && cabal install package dependencies:
- haskell-hspec
- hspec
- QuickCheckList depedencies
Pass and argument to stack ghc
Environment setup
What is my global ghc, why, and how do I change it?
What is my project GHC, why, and where is it stored?
What are my globally installed packages, why, and where are they stored?
What are my project installed packages, why, and where are they stored?
Where does stack build my executables?
Useful resources
Notes
Last updated