cases
A case distinction.
Content across different branches can be aligned with the &
symbol.
Example
$ f(x, y) := cases(
1 "if" (x dot.op y)/2 <= 0,
2 "if" x "is even",
3 "if" x in NN,
4 "else",
) $

ParametersParameters are the inputs to a function. They are specified in parentheses after the function name.
Parameters are the inputs to a function. They are specified in parentheses after the function name.
branches
contentPositionalPositional parameters are specified in order, without names.VariadicVariadic parameters can be specified multiple times.
Positional parameters are specified in order, without names.
Variadic parameters can be specified multiple times.
The branches of the case distinction.