# Safely running untrusted Haskell code

### From HaskellWiki

(Difference between revisions)

(Thread in Haskell Cafe) |
DonStewart (Talk | contribs) |
||

Line 1: | Line 1: | ||

Obviously, don't run code in the IO monad, just show pure results (or possibly make your own monad that is a restricted subset of IO). But it's a lot more complicated than that... | Obviously, don't run code in the IO monad, just show pure results (or possibly make your own monad that is a restricted subset of IO). But it's a lot more complicated than that... | ||

− | See [http://haskell.org/pipermail/haskell-cafe/2007-May/025941.html a long discussion] in Haskell Cafe. | + | == See also == |

+ | |||

+ | * See [http://haskell.org/pipermail/haskell-cafe/2007-May/025941.html a long discussion] in Haskell Cafe. | ||

+ | * The [http://hackage.haskell.org/trac/ghc/ticket/1380 GHC ticket] for -fsafe |

## Revision as of 00:17, 27 May 2007

Obviously, don't run code in the IO monad, just show pure results (or possibly make your own monad that is a restricted subset of IO). But it's a lot more complicated than that...

## See also

- See a long discussion in Haskell Cafe.
- The GHC ticket for -fsafe