[Haskell-cafe] "back doors" into the IO monad

Manlio Perillo manlio_perillo at libero.it
Sat Oct 23 18:28:37 EDT 2010


Hi.

What are the available methods to execute IO actions from pure code?

I know only unsafePerformIO and foreign import (to call a non pure
foreign function).


Assuming I want to execute external untrusted code using plugins (via
the `plugins` package), is it possible to completely forbid execution of
IO actions from user code?



Thanks   Manlio


More information about the Haskell-Cafe mailing list