To build the program:
stack build
To run the program after build:
stack exec pi
To enter the REPL:
stack repl
Build:
stack build pi:test:pi-tests
GHCi
stack build pi:test:pi-tests
Append to dependencies
at package.yaml
.
dependencies:
- base >= 4.7 && < 5
- mtl
- ...
- <insert new dependency here>
pi.cabal
NO TOUCHY!