Re:Why does Haskell, in your opinion, suck?
by Peaker on Sunday April 17, 2016 @05:09PM
(#11516324)
If you call 'next' on an IO stream, you always get the same answer, an IO effect which, when executed, would destructively get the next item:
The function part is pure. The `execution` of the resulting `IO a` action (which is completely separate from its pure evaluation) is not.
[ Parent
| on HN ]
There are no comments on this comment yet.