Created
December 2, 2017 23:29
-
-
Save bitc/9217dae4a7dee816a8bce9b67a37d41f to your computer and use it in GitHub Desktop.
Run Haskell script using stack
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env stack | |
{- stack | |
script | |
--resolver lts-9.14 | |
--install-ghc | |
--package stm,async,shelly | |
-} | |
import System.Info | |
main = do | |
putStrLn "Hello World cool" | |
print (os, arch, compilerName, compilerVersion) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment