Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
This module rebinds do
notation to work with restricted monads in
conjunction with the RebindableSyntax
extension. This module re-exports
Control.IMonad, so it only requires the following minimum file header:
{-# LANGUAGE RebindableSyntax #-} import Control.IMonad.Do import Prelude hiding (Monad(..))
The Prelude is reimported since RebindableSyntax
also includes the
NoImplicitPrelude
extension, otherwise the Prelude's Monad
bindings would
conflict with these bindings.