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 d69806e commit 3e39f60Copy full SHA for 3e39f60
src/Data/Lazy.purs
@@ -29,6 +29,8 @@ import Data.TraversableWithIndex (class TraversableWithIndex)
29
-- | `Lazy` values can be evaluated by using the `force` function.
30
foreign import data Lazy :: Type -> Type
31
32
+type role Lazy representational
33
+
34
-- | Defer a computation, creating a `Lazy` value.
35
foreign import defer :: forall a. (Unit -> a) -> Lazy a
36
0 commit comments