microsoft / qsharp-language

Official repository for design of the quantum programming language Q# and its core libraries
MIT License
233 stars 54 forks source link

Add lambdas to precedence table #161

Closed bamarsha closed 1 year ago

bamarsha commented 1 year ago

Lambdas extend as far to the right as possible, so I think they bind looser than all other expressions.

Closes #160 (@k4rtik).

(I also renumbered the precedences to be contiguous - the gaps seemed unnecessary and made it harder to choose the next number.)