RosettaCodeData/Task/Extend-your-language/Langur/extend-your-language.langur
2026-04-30 12:34:36 -04:00

6 lines
243 B
Text

switch[and] x nxor, y nxor {
case true: ... # both truthy
case true, false: ... # first truthy, second not truthy
case false, true: ... # first not truthy, second truthy
default: ... # both not truthy
}