Skip to content

Commit d4ef0bd

Browse files
authored
Fixing source example in README
1 parent 79a8066 commit d4ef0bd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ Let's compose two functions:
114114

115115
Fn1<Integer, Integer> noOp = add.then(subtract);
116116
// same as
117-
Fn1<Integer, Integer> alsoNoOp = subtract.fmap(add);
117+
Fn1<Integer, Integer> alsoNoOp = subtract.compose(subtract);
118118
```
119119

120120
And partially apply some:

0 commit comments

Comments
 (0)