Hacker News new | ask | show | jobs
by qznc 4153 days ago
Haskell is low on boilerplate? Yes, in general I would agree. Those scripts however, all have to be prefixed with "{-# LANGUAGE OverloadedStrings #-} import Turtle main = do". This is tedious boilerplate.
1 comments

You could trivially have a wrapper program that added that to every script file before calling runhaskell.