-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | A type for pure code that can fail. -- @package exceptional @version 0.1.0.0 module Control.Exceptional -- | This is basically specialized 'Either String', or Maybe with -- error messages. data Exceptional x Failure :: String -> Exceptional x Success :: x -> Exceptional x instance Eq x => Eq (Exceptional x) instance Show x => Show (Exceptional x) instance Read x => Read (Exceptional x) instance Monad Exceptional instance Alternative Exceptional instance Applicative Exceptional instance Functor Exceptional