Data update

This commit is contained in:
Ingy döt Net 2024-03-06 22:25:12 -08:00
parent ed705008a8
commit 0df55f9f24
2196 changed files with 32999 additions and 3075 deletions

View file

@ -15,7 +15,7 @@ switch 0 {
...
}
given .x, .y, .z {
switch[and] .x, .y, .z {
case true: ...
# all are true
case false, _: ...

View file

@ -1,4 +1,4 @@
given .x {
switch .x {
case true:
# implicit fallthrough
case null: 0

View file

@ -1,4 +1,4 @@
given .x {
switch .x {
case true:
if .y > 100 {
fallthrough

View file

@ -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