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.
2 parents a559c91 + 996469d commit 30467f1Copy full SHA for 30467f1
README.md
@@ -269,6 +269,14 @@ Forwards co-Kleisli composition.
269
270
Backwards co-Kleisli composition.
271
272
+#### `extend`
273
+
274
+``` purescript
275
+extend :: forall b a w. (Extend w) => (w a -> b) -> w a -> w b
276
+```
277
278
+An alias for `(<<=)`.
279
280
#### `duplicate`
281
282
``` purescript
src/Control/Extend.purs
@@ -35,6 +35,10 @@ instance extendArr :: (Semigroup w) => Extend ((->) w) where
35
(=<=) :: forall b a w c. (Extend w) => (w b -> c) -> (w a -> b) -> w a -> c
36
(=<=) f g w = f (g <<= w)
37
38
+-- | An alias for `(<<=)`.
39
40
+extend = (<<=)
41
42
-- | Duplicate a comonadic context.
43
-- |
44
-- | `duplicate` is dual to `Control.Bind.join`.
0 commit comments