[Haskell-cafe] unsafePerformIO: are we safe?

Jorge Marques Pelizzoni jpeliz at icmc.usp.br
Wed Sep 26 14:08:39 EDT 2007


Thanks! That's very clarifying.

Bulat Ziganshin escreveu:
> Hello Jorge,
>
> Wednesday, September 26, 2007, 6:43:15 PM, you wrote:
>
>> This is a newbie question: I sort of understand what unsafePerformIO
>> does
>> but I don't quite get its consequences. In short: how safe can one be in
>> face of it?
>
> i redirect you to http://haskell.org/haskellwiki/IO_inside
> and "Tackling the awkward squad: monadic input/output, concurrency,
> exceptions, and foreign-language calls in Haskell"
> [http://research.microsoft.com/Users/simonpj/papers/marktoberdorf/marktoberdorf.ps.gz]
>
> probably in the last paper i have seen two rules of using
> unsafePerformIO, but i can't recall them
>
>
> --
> Best regards,
>  Bulat                            mailto:Bulat.Ziganshin at gmail.com
>


Jorge M. Pelizzoni
ICMC - Universidade de São Paulo



More information about the Haskell-Cafe mailing list