# Haskell builds ## Init stack new project-name # creates project-name/ stack setup # installs ghc etc. to ~/.stack/ stack build # builds project-name-exe in .stack-work/ ## Directory Structure ### app Sources directly related to executables ### src Logic? ### Package related stuff * project-name.cabal - auto-generated by `stack build`. * Setup.hs - part of Cabal. By default just boilerplate. * stack.yaml - project settings. * package.yaml - package config ## Dependencies Add to package.yaml, and potentially to extra-deps in stack.yaml if not included by resolver package set.