6 Nov
2001
6 Nov
'01
12:09 a.m.
Mon, 05 Nov 2001 14:23:18 -0800, Joe English <jenglish@flightlab.com> pisze:
Is there any way, short of using unsafePerformIO, to implement a combinator
f :: [IO a] -> IO [a]
in a way that the the result is produced lazily?
No. If evaluation of list elements causes IO, then it's unsafe. -- __("< Marcin Kowalczyk * qrczak@knm.org.pl http://qrczak.ids.net.pl/ \__/ ^^ QRCZAK