3 ms·
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: #
by afraca 7y ago
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/ https://docs.haskellstack.org/en/stable/README/
- fouc 7y agoThis doesn't answer their question though. a REPL isn't magical