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 cfa7682 commit 2eb6922Copy full SHA for 2eb6922
src/Data/Exists.purs
@@ -26,6 +26,8 @@ import Unsafe.Coerce (unsafeCoerce)
26
-- | ```
27
foreign import data Exists :: (Type -> Type) -> Type
28
29
+type role Exists representational
30
+
31
-- | The `mkExists` function is used to introduce a value of type `Exists f`, by providing a value of
32
-- | type `f a`, for some type `a` which will be hidden in the existentially-quantified type.
33
-- |
0 commit comments