Copyright | (c) The University of Glasgow 2012 |
---|---|
License | see libraries/base/LICENSE |
Maintainer | cvs-ghc@haskell.org |
Stability | internal |
Portability | non-portable (GHC Extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Warning: This is an unstable interface.
The GHCi Monad lifting interface.
EXPERIMENTAL! DON'T USE.
Synopsis
- class Monad m => GHCiSandboxIO m where
- ghciStepIO :: m a -> IO a
- data NoIO a
Documentation
class Monad m => GHCiSandboxIO m where Source #
A monad that can execute GHCi statements by lifting them out of m into the IO monad. (e.g state monads)
ghciStepIO :: m a -> IO a Source #
Instances
GHCiSandboxIO NoIO # | Since: base-4.4.0.0 |
GHCiSandboxIO IO # | Since: base-4.4.0.0 |