News for hackers. Stuff that matters.
Re:An Experiment in Purely Functional IO for Clojure by badsock on Sunday April 19, 2015 @02:57AM (#9402277)
Ah, but

  println "Hi there"
doesn't return nil, it returns a value of the type

  IO nil
which can be transparently substituted for the call.
Re:An Experiment in Purely Functional IO for Clojure by noelwelsh on Sunday April 19, 2015 @03:12AM (#9402303)
Yes, but you're writing in Haskell whereas my example is in Clojure. Hence the difference :)
Re:An Experiment in Purely Functional IO for Clojure by badsock on Sunday April 19, 2015 @11:18AM (#9403453)
Dammit! Sorry, carry on!