Monday, May 28, 2018

A quick guideline on Haskell projects using stack



This is a quick guideline on Haskell projects using stack.

1. How to build a new project and to run it

 - stack new myproject
 - cd myproject
 - stack build myproject
 - stack exec myproject-exe


2. How to load the new project onto Visual Studio code

 - stack build intero

 - code .

3. How to load the project onto GHCi

 - stack ghci