Skip to content

Commit 401670f

Browse files
authored
Fixing typo in README
1 parent 301e678 commit 401670f

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
@@ -115,7 +115,7 @@ Fn1<Integer, Integer> subtract = x -> x -1;
115115

116116
Fn1<Integer, Integer> noOp = add.then(subtract);
117117
// same as
118-
Fn1<Integer, Integer> alsoNoOp = subtract.compose(subtract);
118+
Fn1<Integer, Integer> alsoNoOp = subtract.compose(add);
119119
```
120120

121121
And partially apply some:

0 commit comments

Comments
 (0)