From 28a78124d77dc827668985d9cba459c398b5e105 Mon Sep 17 00:00:00 2001 From: Chris Allen Date: Sat, 19 Mar 2016 23:33:04 -0500 Subject: [PATCH] mention stack.yaml --- doc/tutorial/Server.lhs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/doc/tutorial/Server.lhs b/doc/tutorial/Server.lhs index b7dc5cea..e492deb1 100644 --- a/doc/tutorial/Server.lhs +++ b/doc/tutorial/Server.lhs @@ -60,6 +60,15 @@ executable servant-tutorial 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: ```haskell