News for hackers. Stuff that matters.
Re:IO Monad Considered Harmful by platz on Friday January 23, 2015 @02:13AM (#8933754)
well, maybe gray then; it's not completely opaque. You know it's type, you can apply functions to the value inside. You can pass it around like a variable and if desired, completely throw it away. the point was to show that this is different than some bytecode.

I'm not sure about the head [] example, it might actually be represented by a pure value such as _|_ (bottom) which bubbles up and stops your program when running.

There are no comments on this comment yet.