Y
Hacker News
new
|
ask
|
show
|
jobs
by
brehaut
5567 days ago
main = print "Hello, World!"
Not a monad in sight. Yes, print is an IO Action, but you don't have to use monads to do IO. Add in 'interact' and a you can be writing trivial stdin / stdout programs very quickly.