Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
data Conclusion e a Source #
Instances
conclusion :: (e -> r) -> (a -> r) -> Conclusion e a -> r Source #
fail :: (e -> r) -> Conclusion e ~> Conclusion r Source #
type Failable e t = Adaptable t (->) (Conclusion e) Source #
class Catchable e t where Source #
Instances
Catchable e (Conclusion e :: Type -> Type) Source # | |
Defined in Pandora.Paradigm.Primary.Functor.Conclusion catch :: forall (a :: k). Conclusion e a -> (e -> Conclusion e a) -> Conclusion e a Source # | |
(Monoidal (-->) (-->) (:*:) (:*:) u, Bindable ((->) :: Type -> Type -> Type) u) => Catchable e (Conclusion e <.:> u :: Type -> Type) Source # | |
Defined in Pandora.Paradigm.Primary.Functor.Conclusion catch :: forall (a :: k). (Conclusion e <.:> u) a -> (e -> (Conclusion e <.:> u) a) -> (Conclusion e <.:> u) a Source # |