haskell
About
Installation
1 wget -qO- https://get.haskellstack.org/ | sh
Configure
configure stack
~/.stack/config.yaml
1 # This file contains default non-project-specific settings for 'stack', used
2 # in all projects. For more information about stack's configuration, see
3 # http://docs.haskellstack.org/en/stable/yaml_configuration/
4
5 # The following parameters are used by "stack new" to automatically fill fields
6 # in the cabal config. We recommend uncommenting them and filling them out if
7 # you intend to use 'stack new'.
8 # See https://docs.haskellstack.org/en/stable/yaml_configuration/#templates
9 templates:
10 params:
11 author-name: Tobias Stein
12 author-email: grand.ouvert@googlemail.com
13 copyright: Rockstable IT
14 github-username: tobiasstein
new project
Create a new project
1 stack new project-name
Add the dependencies to
package.yaml
The name of the dependencies differ from the imports. The the package to the import Text.RawString.QQ is named raw-strings-qq. This seems to be the first part (without version) of the name of the tar-archive.