Andreas Sinz
when matches its argument against all branches
when
when { message.startsWith() -> ... else -> .... }