Skip to content

Commit eb4481c

Browse files
jreinahemanth
authored andcommitted
Fixes a tiny spelling error under auto currying. (#107)
1 parent 8d10ce9 commit eb4481c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

readme.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,9 +154,9 @@ Underscore, lodash, and ramda have a `curry` function that works this way.
154154
const add = (x, y) => x + y;
155155

156156
const curriedAdd = _.curry(add);
157-
curreiedAdd(1, 2) // 3
158-
curreiedAdd(1) // (y) => 1 + y
159-
curreiedAdd(1)(2) // 3
157+
curriedAdd(1, 2) // 3
158+
curriedAdd(1) // (y) => 1 + y
159+
curriedAdd(1)(2) // 3
160160
```
161161

162162
__Further reading__

0 commit comments

Comments
 (0)