Hets - the Heterogeneous Tool Set

CopyrightC. Maeder and Uni Bremen 2002-2005
LicenseGPLv2 or higher, see LICENSE.txt
Maintainerjonathan.von_schroeder@dfki.de
Stabilityexperimental
Portabilityportable
Safe HaskellSafe-Inferred

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

Documentation

newtype MaybeT m a

A monad transformer which adds Maybe semantics to an existing monad.

Constructors

MaybeT 

Fields

runMaybeT :: m (Maybe a)
 

Instances

Monad m => Monad (MaybeT m) 

liftToMaybeT :: Monad m => m a -> MaybeT m a