4 examples for stack

{{ score }}
  # Creates a new Haskell project
stack new hello-world
        
{{ score }}
  # setup your new stack environment
stack setup
        
{{ score }}
  # If you are using Haskero for your stack project
# install intero
stack install intero
        
{{ score }}
  # a combo command, stack build will build your project
# stack build will create a -exe file 
# stack exec -exe will run your haskell program
stack build && stack exec learning-haskell-exe