Module
Type.Row.Effect.Equality
- Package
- purescript-type-equality
- Repository
- purescript/purescript-type-equality
#EffectRowEquals Source
class EffectRowEquals (a :: Row Effect) (b :: Row Effect) | a -> b, b -> a where
This type class asserts that effect rows a
and b
are equal.
The functional dependencies and the single instance below will force the two type arguments to unify when either one is known.
Note: any instance will necessarily ovelap with refl
below, so instances
of this class should not be defined in libraries.
Members
Instances
EffectRowEquals a a
#effTo Source
effTo :: forall x b a e. EffectRowEquals a b => e a x -> e b x
A version of to
that can be applied to types like Eff
, Aff
, etc.
#effFrom Source
effFrom :: forall x b a e. EffectRowEquals a b => e b x -> e a x
A version of from
that can be applied to types like Eff
, Aff
, etc.