
6 May
2006
6 May
'06
4:54 a.m.
Hello Marc, Saturday, May 6, 2006, 2:39:46 AM, you wrote:
just add unsafePerformIO: great idea! In my case I can also use unsafeInterleaveIO or lazyness, can't I?
sorry, i don't remember your case, next time add more citation. in general 'unsafeInterleaveIO' can be used only in IO context, if you want to create computation that will be executed only later: contents <- unsafeInterleaveIO (readFile name) if you don't have IO context, you can't use this function -- Best regards, Bulat mailto:Bulat.Ziganshin@gmail.com