Allowing pattern bindings in `for` loop `where` clauses

I came across a few interesting related threads:

In 2018, @broadway_lamb pitched "Allow optional unwrapping in where clause":

In 2016, @Joe_Groff provided some context why the if case and for case syntax exists:

And another 2018 discussion whether the various pattern matching syntaxes can be unified:

1 Like