Safe Haskell is a GlasgowHaskellCompiler extension to the Haskell language which allows unsafe (or simply untrusted) code to be used safely from within a trusted codebase, by restricting which Haskell/GHC features the untrusted code may use.
Code may be marked as
http://www.haskell.org/ghc/docs/7.2.1/html/users_guide/safe-haskell.html