qsharp
qsharp copied to clipboard
Pattern matching and match expressions
Patterns in Q# can be extended to support UDTs, literals, etc. Match expressions would be useful for branching on an integer or string value, or a value of a sum type (#483). See microsoft/qsharp-language#81.
Related to #478 and #483