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 c9590ea commit 8d10ce9Copy full SHA for 8d10ce9
readme.md
@@ -541,7 +541,7 @@ const arg2 = [4, 5];
541
// combining function - must be curried for this to work
542
const add = (x) => (y) => x + y;
543
544
-const partiallyAppliedAdds = [add].ap(arg1); // [(y) => 1 + y, (y) => 2 + y]
+const partiallyAppliedAdds = [add].ap(arg1); // [(y) => 1 + y, (y) => 3 + y]
545
```
546
547
This gives you an array of functions that you can call `ap` on to get the result:
0 commit comments