-
Notifications
You must be signed in to change notification settings - Fork 6k
Open
Labels
📌 seQUESTeredIdentifies that an issue has been imported into Quest.Identifies that an issue has been imported into Quest.dotnet-fsharp/svchelp wantedGood for community contributors to help [up-for-grabs]Good for community contributors to help [up-for-grabs]in-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
In the Syntax section at the beginning, it is important to state that the first 1st pipe character is optional.
Otherwise, it is not clear that "type X = Y of Z" is valid syntax for defining a single-case discriminated union.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: 6020749e-d91e-8a1b-5366-25b212baa31d
- Version Independent ID: 0f28f508-dc0f-c272-383e-ec768759fe16
- Content: Discriminated Unions - F#
- Content Source: docs/fsharp/language-reference/discriminated-unions.md
- Product: dotnet-fsharp
- GitHub Login: @cartermp
- Microsoft Alias: phcart
Copilot
Metadata
Metadata
Assignees
Labels
📌 seQUESTeredIdentifies that an issue has been imported into Quest.Identifies that an issue has been imported into Quest.dotnet-fsharp/svchelp wantedGood for community contributors to help [up-for-grabs]Good for community contributors to help [up-for-grabs]in-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
👀 In review