Skip to content

Commit 65a8631

Browse files
authored
Merge pull request #473 from eevman/master
Appendix c: Fixed type signature for `flip` function
2 parents 860eb4d + c4c8b9d commit 65a8631

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

appendix_c.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ const filter = curry((fn, xs) => xs.filter(fn));
4848
## flip
4949

5050
```js
51-
// flip :: (a -> b) -> (b -> a)
51+
// flip :: (a -> b -> c) -> b -> a -> c
5252
const flip = curry((fn, a, b) => fn(b, a));
5353
```
5454

0 commit comments

Comments
 (0)