Skip to content

F# style guide question - Space before parenthesis in pattern in F# code #26465

@nojaf

Description

@nojaf

Hello @dsyme,

Should there be a space after a pattern (SynPat.LongIdent if you will) that has a parenthesis argument.

match x with
// with a space
| Foo (a, b) -> ()
// without a space
| Bar(c,d,e) -> ()

//cc @auduchinok


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.


Associated WorkItem - 496845

Metadata

Metadata

Labels

📌 seQUESTeredIdentifies that an issue has been imported into Quest.dotnet-fsharp/svcin-prThis issue will be closed (fixed) by an active pull request.okr-qualityContent-quality KR: Concerns article defects (bugs), freshness, or build warnings.

Type

No type

Projects

Status

✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions