| Copyright | C. Maeder and Uni Bremen 2002-2005 | 
|---|---|
| License | GPLv2 or higher, see LICENSE.txt | 
| Maintainer | jonathan.von_schroeder@dfki.de | 
| Stability | experimental | 
| Portability | portable | 
| Safe Haskell | Safe | 
Common.Lib.Maybe
Description
This module is a replacement of module Control.Monad.Maybe and only contains the Monad instance for the newtype MaybeT m.
Synopsis
- newtype MaybeT m a = MaybeT {
- runMaybeT :: m (Maybe a)
 
 - liftToMaybeT :: Monad m => m a -> MaybeT m a
 
Documentation
A monad transformer which adds Maybe semantics to an existing monad.
liftToMaybeT :: Monad m => m a -> MaybeT m a Source #