curl -sSL <https://get.haskellstack.org/> | sh
stack setup
echo 'eval "$(stack --bash-completion-script stack)"' >> ~/.bash_profile
# Create a new project from a template.
stack new PACKAGE_NAME
# Build the package.
stack build
# Build and run an executable.
stack run
# Run the tests.
stack test
# Run the benchmarks.
stack bench
# Build the documentation.
stack haddock
dependencies:
- base >= 4.7 && < 5
extra-deps: []