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 | None |
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 #
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 #
Instances
GHCiSandboxIO IO # | Since: base-4.4.0.0 |
Defined in GHC.GHCi ghciStepIO :: IO a -> IO a # | |
GHCiSandboxIO NoIO # | Since: base-4.4.0.0 |
Defined in GHC.GHCi ghciStepIO :: NoIO a -> IO a # |