aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--readme.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/readme.md b/readme.md
index 9a2a408..88c7a82 100644
--- a/readme.md
+++ b/readme.md
@@ -28,7 +28,7 @@ the use of which being problematic in performance-sensitive contexts.
28import static org.pacien.lemonad.attempt.Attempt.*; 28import static org.pacien.lemonad.attempt.Attempt.*;
29 29
30(tree.hasLemon() ? success(tree.getLemon()) : failure("No lemon.")) 30(tree.hasLemon() ? success(tree.getLemon()) : failure("No lemon."))
31 .mapFailure(error -> store.buyLemon()) 31 .mapError(__ -> store.buyLemon())
32 .mapResult(this::makeLemonade) 32 .mapResult(this::makeLemonade)
33 .ifSuccess(this::drink); 33 .ifSuccess(this::drink);
34``` 34```
@@ -70,7 +70,7 @@ repositories {
70} 70}
71 71
72dependencies { 72dependencies {
73 implementation 'org.pacien:lemonad:master-11a6ff0260-1' 73 implementation 'org.pacien:lemonad:master-815755b959-1'
74} 74}
75``` 75```
76 76
@@ -88,7 +88,7 @@ dependencies {
88 <dependency> 88 <dependency>
89 <groupId>org.pacien</groupId> 89 <groupId>org.pacien</groupId>
90 <artifactId>lemonad</artifactId> 90 <artifactId>lemonad</artifactId>
91 <version>master-11a6ff0260-1</version> 91 <version>master-815755b959-1</version>
92 </dependency> 92 </dependency>
93</project> 93</project>
94``` 94```