News for hackers. Stuff that matters.
Re:An Experiment in Purely Functional IO for Clojure by wz1000 on Sunday April 19, 2015 @04:35AM (#9402423)
Ah, but Haskell is lazy so loop will never be evaluated and a

    loop >> constantly_unit
will return unit no matter what.
Re:An Experiment in Purely Functional IO for Clojure by tel on Sunday April 19, 2015 @10:46AM (#9403308)
Ah, yeah, I was being fast and loose with laziness. You have to `seq` the argument to `constantly_unit`, too.