[Haskell-cafe] better way to do this?

Edward Z. Yang ezyang at MIT.EDU
Wed Oct 7 11:22:34 EDT 2009

Excerpts from Ketil Malde's message of Wed Oct 07 05:13:19 -0400 2009:
> One could argue that IO should be broken down into a set of "sub-monads"
> encapsulating various subsets of the functionality - file system,
> network access, randomness, and so on.  This could extend the "safe
> spot" to cover much more computational real estate, and effectively
> sandbox programs in various ways.

You can approximate this using the Prompt monad.



More information about the Haskell-Cafe mailing list