`if`s with a `when` in the `else` branch are better written as `cond`.