microsoft / microsoft/qdk

Pattern matching and match expressions

Open
#487 1 comment 0 reactions 0 assignees View on GitHub
enhancement language
Dominant language
Rust
Stars
1k
Forks
212
Avg merge
3d 8h
Merged PRs (30d)
65

Description

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.

Contributor guide

Open the contributing guide

Research direction

Start by reading the Q# language discussion in microsoft/qsharp-language#81 and the related sum-type issue #483. Define the scope for extending patterns to UDTs and literals and for match expressions over integer, string, or sum-type values; done requires an agreed design and implementation plan.

Written by the indexing model from the issue text.

Assessment

Domain
compilers, quantum-computing
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.