Add text to tutorial describing the Stack shebang line

I already knew what Stack is and was excited to see it can be used
in this manner, but I had to spend several minutes searching the web
to figure out what was going on with the second line in these
scripts.
This commit is contained in:
Omari Norman 2015-09-25 22:01:41 -04:00
parent fe748817cc
commit eed56dfd21

View file

@ -33,6 +33,14 @@
> $ stack install turtle
The first two lines of each script below contain boilerplate instructions
so that `stack` will load and run the script. This helps ensure that a
script will run on any computer that has a `stack` executable, as `stack`
can install a Haskell compiler if one is not already present.
If you are curious about how these two lines work, they are described here:
<https://github.com/commercialhaskell/stack/blob/master/doc/GUIDE.md#ghcrunghc>
-}
module Turtle.Tutorial (