| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Test.IOTasks.Internal.Overflow
Documentation
data OverflowWarning Source #
Constructors
| OverflowOccurred | |
| NoOverflow |
Instances
| Monoid OverflowWarning Source # | |
Defined in Test.IOTasks.Internal.Overflow Methods mappend :: OverflowWarning -> OverflowWarning -> OverflowWarning # mconcat :: [OverflowWarning] -> OverflowWarning # | |
| Semigroup OverflowWarning Source # | |
Defined in Test.IOTasks.Internal.Overflow Methods (<>) :: OverflowWarning -> OverflowWarning -> OverflowWarning # sconcat :: NonEmpty OverflowWarning -> OverflowWarning # stimes :: Integral b => b -> OverflowWarning -> OverflowWarning # | |
| Show OverflowWarning Source # | |
Defined in Test.IOTasks.Internal.Overflow Methods showsPrec :: Int -> OverflowWarning -> ShowS # show :: OverflowWarning -> String # showList :: [OverflowWarning] -> ShowS # | |
| Eq OverflowWarning Source # | |
Defined in Test.IOTasks.Internal.Overflow Methods (==) :: OverflowWarning -> OverflowWarning -> Bool # (/=) :: OverflowWarning -> OverflowWarning -> Bool # | |
evalOverflow :: (EffectEval t, Typeable a) => OverflowTreatment t -> Env t -> t a -> (OverflowWarning, a) Source #
data OverflowTreatment t Source #
modifySubCheck :: (forall a. t a -> t' a) -> SubCheck t x -> SubCheck t' x Source #
class EffectEval t where Source #
Minimal complete definition
Methods
pureEval :: (Applicative f, Typeable a) => (forall x. Typeable x => t x -> f x) -> Env t -> t a -> f a Source #
Instances
| EffectEval (Term k) Source # | |
effectEval :: (EffectEval t, Applicative f, Typeable a) => (forall x. Typeable x => t x -> Maybe (f x)) -> Env t -> t a -> f a Source #