> Should we have more generic solution for single match? > Something like > > def b = x is Some(y) when y > 100; > or > def b = x match Some(y) when y > 100; > > ??? No. It's bad design. For example, what will be contain "b" if "x" is None()?