exceptional-0.1.4.0: Essentially the Maybe type with error messages.

Safe HaskellSafe
LanguageHaskell98

Control.Exceptional

Synopsis

Documentation

data Exceptional x Source

This is basically specialized 'Either String', or Maybe with error messages.

Constructors

Failure String 
Success x 

runExceptional :: Monad m => Exceptional x -> m x Source

Convert Exceptional into another Monad

toMaybe :: Exceptional a -> Maybe a Source

Convert a Maybe to an Exceptional