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.
ap
1 parent e918b39 commit d1faf8bCopy full SHA for d1faf8b
readme.md
@@ -349,7 +349,7 @@ Lifting is when you take a value and put it into an object like a [functor](#poi
349
Some implementations have a function called `lift`, or `liftA2` to make it easier to run functions on functors.
350
351
```js
352
-const liftA2 = (f) => (a, b) => a.map(f).ap(b)
+const liftA2 = (f) => (a, b) => a.map(f).ap(b) // note it's `ap` and not `map`.
353
354
const mult = a => b => a * b
355
0 commit comments