Proposal to extend the syntax of list comprehensions with a `let` clause

I’m not a fan personally of adding additional complexity to comprehensions, but I was curious if this idea had been discussed before, so I did some searching. There’s a related idea for allowing binding variables in comprehensions in issue 32905, so I went ahead and posted your proposed syntax there.

6 Likes