You can use commas to separate multiple expressions in the same when statement. We use the optional else case in this example as well.
case without an argument is an alternate way to express if/else logic. Here we also show how the when expressions can be non-constants.
A type case compares types instead of values. You can use this to discover the type of a value. In this example, the variable t will have the type corresponding to its clause.