From d1faf8b4f103411c0933328d2f2c62b16356ddb1 Mon Sep 17 00:00:00 2001 From: "hemanth.hm" Date: Wed, 26 Oct 2016 06:14:24 +0530 Subject: [PATCH] Added a note for `ap` We've got this pr like 4 times now thinking that it's a typo. --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 7a28a12..2a92506 100644 --- a/readme.md +++ b/readme.md @@ -349,7 +349,7 @@ Lifting is when you take a value and put it into an object like a [functor](#poi Some implementations have a function called `lift`, or `liftA2` to make it easier to run functions on functors. ```js -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`. const mult = a => b => a * b