aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpacien2019-04-05 05:13:32 +0200
committerpacien2019-04-05 05:13:32 +0200
commit80f7acccde921fb387a17d2a5712babf3001b974 (patch)
tree34dfc73f19747e43f8cd690e2ded138b6ae4adf4
parent60a665926403e65ae6abf181916c439db52ce0e2 (diff)
downloadjava-lemonad-80f7acccde921fb387a17d2a5712babf3001b974.tar.gz
update readme
-rw-r--r--readme.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/readme.md b/readme.md
index 038782a..8a1a720 100644
--- a/readme.md
+++ b/readme.md
@@ -28,8 +28,8 @@ 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 .mapError(__ -> store.buyLemon()) 31 .recoverError(__ -> store.buyLemon())
32 .mapResult(this::makeLemonade) 32 .transformResult(this::makeLemonade)
33 .ifSuccess(this::drink); 33 .ifSuccess(this::drink);
34``` 34```
35 35
@@ -70,7 +70,7 @@ repositories {
70} 70}
71 71
72dependencies { 72dependencies {
73 implementation 'org.pacien:lemonad:614bd19ad5' 73 implementation 'org.pacien:lemonad:60a6659264'
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>614bd19ad5</version> 91 <version>60a6659264</version>
92 </dependency> 92 </dependency>
93</project> 93</project>
94``` 94```