Data update
This commit is contained in:
parent
ed705008a8
commit
0df55f9f24
2196 changed files with 32999 additions and 3075 deletions
|
|
@ -15,7 +15,7 @@ switch 0 {
|
|||
...
|
||||
}
|
||||
|
||||
given .x, .y, .z {
|
||||
switch[and] .x, .y, .z {
|
||||
case true: ...
|
||||
# all are true
|
||||
case false, _: ...
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
given .x {
|
||||
switch .x {
|
||||
case true:
|
||||
# implicit fallthrough
|
||||
case null: 0
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
given .x {
|
||||
switch .x {
|
||||
case true:
|
||||
if .y > 100 {
|
||||
fallthrough
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
given(.x, .y, .z;
|
||||
true: ... ; # all are equal to true
|
||||
switch(.x, .y, .z;
|
||||
true: ... ; # any are equal to true
|
||||
_, >= .z: ...; # .y >= .z
|
||||
... ) # default
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue