I designed and implemented my own scripting language, which features a control flow structure I wanted to get some feedback on!
The `when` statement in DeltaScript extends the traditional `switch` statement with types of cases for pattern matching and testing the control variable against a boolean function (predicate). It also does away with fallthrough.