collect-errors-0.1.5.0: Error monad with a Float instance
Safe HaskellSafe-Inferred
LanguageHaskell2010

Control.CollectErrors.PreludeInstances

Documentation

errorMissingValue :: (Show t, Monoid t) => String -> t -> t2 Source #

errorMissingValues :: (Show t, Monoid t) => String -> [t] -> t2 Source #

liftGotValue :: CanBeErrors es => String -> (t1 -> t) -> CollectErrors es t1 -> t Source #

liftGotValues2 :: CanBeErrors es => String -> (t1 -> t2 -> t) -> CollectErrors es t1 -> CollectErrors es t2 -> t Source #

Orphan instances

(CanBeErrors es, Bounded v) => Bounded (CollectErrors es v) Source # 
Instance details

(CanBeErrors es, Enum v) => Enum (CollectErrors es v) Source # 
Instance details

(CanBeErrors es, Eq v) => Eq (CollectErrors es v) Source # 
Instance details

Methods

(==) :: CollectErrors es v -> CollectErrors es v -> Bool #

(/=) :: CollectErrors es v -> CollectErrors es v -> Bool #

(CanBeErrors es, Num v) => Num (CollectErrors es v) Source # 
Instance details

(CanBeErrors es, Ord v) => Ord (CollectErrors es v) Source # 
Instance details

Methods

compare :: CollectErrors es v -> CollectErrors es v -> Ordering #

(<) :: CollectErrors es v -> CollectErrors es v -> Bool #

(<=) :: CollectErrors es v -> CollectErrors es v -> Bool #

(>) :: CollectErrors es v -> CollectErrors es v -> Bool #

(>=) :: CollectErrors es v -> CollectErrors es v -> Bool #

max :: CollectErrors es v -> CollectErrors es v -> CollectErrors es v #

min :: CollectErrors es v -> CollectErrors es v -> CollectErrors es v #

(CanBeErrors es, Real v) => Real (CollectErrors es v) Source # 
Instance details