Skip to content

Instantly share code, notes, and snippets.

@Wizek
Created February 9, 2016 10:32
Show Gist options
  • Select an option

  • Save Wizek/b79a47a02328fabae8da to your computer and use it in GitHub Desktop.

Select an option

Save Wizek/b79a47a02328fabae8da to your computer and use it in GitHub Desktop.
➜ sandbox stack new exp-eval simple
Downloading template "simple" to create project "exp-eval" in exp-eval/ ...
The following parameters were needed by the template but not provided: category, copyright, github-username
You can provide them in /home/wizek/.stack/config.yaml, like this:
templates:
params:
category: value
copyright: value
github-username: value
Or you can pass each one as parameters like this:
stack new exp-eval simple -p "category:value" -p "copyright:value" -p "github-username:value"
Using cabal packages:
- exp-eval/exp-eval.cabal
Selecting the best among 5 snapshots...
* Selected lts-4.1
Initialising configuration using resolver: lts-4.1
Writing configuration to file: exp-eval/stack.yaml
All done.
➜ sandbox cd exp-eval
➜ exp-eval stack eval 'Main.main'
<interactive>:1:1: Not in scope: ‘Main.main’
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment