For those unaware: Haskell has a REPL (ghci), and you can make files more script-like with the (currently most popular) build tool stack[0] if you include:
#!/usr/bin/env stack
-- stack --resolver lts-6.25 script --package turtle
(as you see it includes easy dependency management :) )
0: https://docs.haskellstack.org/en/stable/README/