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 efaccc9 commit 139584aCopy full SHA for 139584a
src/Control/Lazy.purs
@@ -13,6 +13,9 @@ class Lazy l where
13
instance lazyFn :: Lazy (a -> b) where
14
defer f = \x -> f unit x
15
16
+instance lazyUnit :: Lazy Unit where
17
+ defer _ = unit
18
+
19
-- | `fix` defines a value as the fixed point of a function.
20
-- |
21
-- | The `Lazy` instance allows us to generate the result lazily.
0 commit comments