diff options
author | Leah Neukirchen <leah@vuxu.org> | 2022-11-19 17:23:53 +0100 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2022-11-19 17:23:53 +0100 |
commit | a06b95c052b4e70fe6fe61f7d90874fb6be00b56 (patch) | |
tree | 057a33cfbd434fcfb05c996da1c4171f8858f577 /mew.svnwiki | |
parent | c39f30f07f47346dc6699c59f56c549a786283fe (diff) | |
download | mew-a06b95c052b4e70fe6fe61f7d90874fb6be00b56.tar.gz mew-a06b95c052b4e70fe6fe61f7d90874fb6be00b56.tar.xz mew-a06b95c052b4e70fe6fe61f7d90874fb6be00b56.zip |
add ok->, ok->>, err->, err->> to ->
Diffstat (limited to 'mew.svnwiki')
-rw-r--r-- | mew.svnwiki | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/mew.svnwiki b/mew.svnwiki index 629d11b..e3cabdb 100644 --- a/mew.svnwiki +++ b/mew.svnwiki @@ -44,7 +44,8 @@ SRFI-158 (Generators and Accumulators), {{(chicken irregex)}}, {{(chicken pretty-print)}}}, {{(chicken sort)}}}, -and {{matchable}}. +{{matchable}}, +and {{err}} (see {{err.svnwiki}}). == Definitions, bindings and assignments @@ -540,3 +541,15 @@ Evaluate {{<val>}}. Then, when {{<cond>}} is not false, behaves like Like {{->}}/{{->>}} but skips nesting the code if the nested expression is false. + +<syntax>(-> ... ok-> ...)<syntax> +<syntax>(-> ... ok->> ...)<syntax> + +Like {{->}}/{{->>}} but skips nesting the code if the nested +expression is {{err?}}. + +<syntax>(-> ... err-> ...)<syntax> +<syntax>(-> ... err->> ...)<syntax> + +Like {{->}}/{{->>}} but skips nesting the code if the nested +expression is {{ok?}}. The unwrapped value is inserted into the nesting. |