7 ms·
Well, you certainly can't start executing until the `IO a` thing has been evaluated, but there aren't any other constraints. Something that can confuse people
by DanWaterworth 13y ago
Well, you certainly can't start executing until the `IO a` thing has been evaluated, but there aren't any other constraints.
Something that can confuse people (and I'm not sure if this is the case with you or not) is that an `IO a` may/probably will contain a closure. So evaluation and execution are interleaved, but not because of laziness.
- dllthomas 13y agoClosures can be a way of implementing laziness, so I'm not sure you've shown it's "not because of laziness" - though certainly it's not because the language is lazy by default.