[Haskell-cafe] do

Peter Verswyvelen bf3 at telenet.be
Mon Oct 15 13:32:46 EDT 2007

jerzy.karczmarczuk at info.unicaen.fr wrote:
>> Yes, *different approach*. So, there *are* differences. Compilers, 
>> anyway,
>> are special applications. I wanted to see - responding to Brandon - a
>> "normal" Haskell program, which does IO without monads, that't all.
>> The problem is then when you hide something, you hide. It is possible to
>> superpose a kind of monadic framework on unique worlds, files, etc. in
>> Clean, but the reverse operation goes beyond my horizons.
>> Some examples, anybody?
>> Jerzy Karczmarczuk
Ah yes, I see what you mean now. I have no idea, I guess only 
unsafePerformIO will allow you to do something like that... But that 
will completely break referential transparency. But I really don't know. 
What do the experts have to say?

More information about the Haskell-Cafe mailing list