mention stack.yaml

This commit is contained in:
Chris Allen 2016-03-19 23:33:04 -05:00
parent 25106f9645
commit 28a78124d7

View file

@ -60,6 +60,15 @@ executable servant-tutorial
default-language: Haskell2010 default-language: Haskell2010
``` ```
If you're using Stack, then in your `stack.yaml` you may want to specify:
```yaml
extra-deps:
- aeson-0.11.1.1
- servant-0.5
- servant-server-0.5
```
Then the `app/Main.hs` file, so you can produce a binary for running locally: Then the `app/Main.hs` file, so you can produce a binary for running locally:
```haskell ```haskell