Re:Hopefully more controversial programming opinions
by pufuwozu on Thursday August 30, 2012 @06:25AM
(#4453917)
This is even the case after the introduction of the IO monad. Monads allow referentially transparent IO.
My purely functional programs actually do things! Amazing that my ivory tower allows me to say "Hello World".
Re:Hopefully more controversial programming opinions
by walrus on Thursday August 30, 2012 @10:54AM
(#4454916)
Yes, the 'minor scaffolding' has side effects. That's why I said it wasn't controversial.
This is one of several ways that Haskell worked before there was an IO monad [1], all allowing pure functional useful programmes.
[1] S. Peyton Jones. Tackling the awkward squad: monadic input/output, concurrency, exceptions, and foreign-language calls in haskell. Technical report, Microsoft Research, Cambridge, 2010.