Haskero
brew update
brew install stack
stack new {project name} simple --resolver=lts-7.8
lst-7.8 does is it mean compile version you need to use
- Create project ->
stack new hello-world simple --resolver=lts-7.8
- Build ->
stack build
- Set up stack or setup GHC ->
stack setup
- Execute program ->
stack exec hello-world
- Run program ->
stack runghc Main.hs
- Interactive for GHC ->
stack ghci
- Exit interactive mode ->
:quit