We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 043d7ba commit 9f5a6feCopy full SHA for 9f5a6fe
src/Effect/Aff.purs
@@ -63,6 +63,8 @@ import Unsafe.Coerce (unsafeCoerce)
63
-- | `makeAff` or `liftEffect`.
64
foreign import data Aff ∷ Type → Type
65
66
+type role Aff representational
67
+
68
instance functorAff ∷ Functor Aff where
69
map = _map
70
@@ -117,6 +119,8 @@ instance lazyAff ∷ Lazy (Aff a) where
117
119
-- | `ParAff` and back using the `Parallel` class.
118
120
foreign import data ParAff ∷ Type → Type
121
122
+type role ParAff representational
123
124
instance functorParAff ∷ Functor ParAff where
125
map = _parAffMap
126
0 commit comments