Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
absurdMember :: ElemOf e '[] -> b Source #
class Member e r where Source #
A constraint that e
is part of the effect row r
.
r
is typically
for some Derivs
mm
.
Member e (
allows you to use
actions of Derivs
m)e
with m
.
If e
occurs multiple times in r
, then the first
occurence will be used.
If possible, use
instead.Eff
/s
membership :: ElemOf e r Source #
Instances
(TypeError ((('Text "Unhandled effect: " :<>: 'ShowType e) :$$: 'Text "You need to either add or replace an interpreter in your interpretation stack so that the effect gets handled.") :$$: 'Text "To check what effects are currently handled by your interpretation stack, use `debugEffects' from `Control.Effect.Debug'.") :: Constraint) => Member (e :: k) ('[] :: [k]) Source # | |
Defined in Control.Effect.Internal.Membership membership :: ElemOf e '[] Source # | |
Member e r => Member (e :: a) (_e ': r :: [a]) Source # | |
Defined in Control.Effect.Internal.Membership membership :: ElemOf e (_e ': r) Source # | |
Member (e :: a) (e ': r :: [a]) Source # | |
Defined in Control.Effect.Internal.Membership membership :: ElemOf e (e ': r) Source # |