diff options
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/control.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/control.md b/doc/control.md index b7e58436..fe2e77e9 100644 --- a/doc/control.md +++ b/doc/control.md @@ -19,7 +19,7 @@ The useful control structures introduced here are collected as shortened definit # Switch/case statements have many variations; these are a few Match β {ππ¨}Β΄ Select β {(βπ©)βΆ(1βπ©)@} - Switch β {cββπ© β mβΏaβ<ΛβββΏ2β₯1βπ© β (βaβC)βΆm@} + Switch β {cββπ© β mβΏaβ<ΛβββΏ2β₯1βπ© β (mβΈββΎ<C)βΆa@} Test β {fnβ{CβΏAπe:CβΆAβΏE}Β΄π©βFn@} ## Blocks and functions @@ -153,7 +153,7 @@ A simplified version of a switch-case statement is possible if the cases are nat To test against other possible values, the following statement takes interleaved lists of values and actions, and disentangles them. It searches through the values with `β`. - Switch β {cββπ© β mβΏaβ<ΛβββΏ2β₯1βπ© β (βaβC)βΆm@} + Switch β {cββπ© β mβΏaβ<ΛβββΏ2β₯1βπ© β (mβΈββΎ<C)βΆa@} Switch β¨value "increment" β {π€β v+β©1} |
