-
Notifications
You must be signed in to change notification settings - Fork 6k
Closed
Labels
📌 seQUESTeredIdentifies that an issue has been imported into Quest.Identifies that an issue has been imported into Quest.🗺️ mapQUESTOnly used as a way to mark an issue as updated for quest. RepoMan should instantly remove it.Only used as a way to mark an issue as updated for quest. RepoMan should instantly remove it.dotnet-fsharp/svcin-prThis issue will be closed (fixed) by an active pull request.This issue will be closed (fixed) by an active pull request.okr-qualityContent-quality KR: Concerns article defects (bugs), freshness, or build warnings.Content-quality KR: Concerns article defects (bugs), freshness, or build warnings.
Description
[Enter feedback here]
For the cons pattern matching section, a very useful construct that should be included in the documentation is the multiple cons pattern:
match xs with
| 'A'::'B'::t -> "starts with 'AB'"
| 'A'::t -> "starts with 'A'"
| 'C'::'D'::t -> "starts with 'CD'"
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: 8a3ed054-03c9-375f-403b-68f0356d5870
- Version Independent ID: 3c167003-13e8-359b-e919-693258e7f48b
- Content: Pattern Matching - F#
- Content Source: docs/fsharp/language-reference/pattern-matching.md
- Product: dotnet-fsharp
- GitHub Login: @cartermp
- Microsoft Alias: dotnetcontent
Copilot
Metadata
Metadata
Assignees
Labels
📌 seQUESTeredIdentifies that an issue has been imported into Quest.Identifies that an issue has been imported into Quest.🗺️ mapQUESTOnly used as a way to mark an issue as updated for quest. RepoMan should instantly remove it.Only used as a way to mark an issue as updated for quest. RepoMan should instantly remove it.dotnet-fsharp/svcin-prThis issue will be closed (fixed) by an active pull request.This issue will be closed (fixed) by an active pull request.okr-qualityContent-quality KR: Concerns article defects (bugs), freshness, or build warnings.Content-quality KR: Concerns article defects (bugs), freshness, or build warnings.
Type
Projects
Status
✅ Done