exceptional-0.1.1.1: A type for pure code that can fail.

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