Skip to content

Update guide for long if or match expressions. - #30094

Merged
dsyme merged 1 commit into
dotnet:mainfrom
nojaf:fsharp-if-then-else-match-with
Jul 5, 2022
Merged

Update guide for long if or match expressions.#30094
dsyme merged 1 commit into
dotnet:mainfrom
nojaf:fsharp-if-then-else-match-with

Conversation

@nojaf

@nojafnojaf commented Jul 5, 2022

Copy link
Copy Markdown
Contributor

Summary

I've updated the guidance for long if or match expressions.

Fixesfsharp/fslang-design#646

I've also added the recommendation of fsprojects/fantomas#2299 to have if/then expressions without else on two lines.

Please review @dsyme.

@nojaf
nojaf requested review from a team and KathleenDollard as code ownersJuly 5, 2022 07:43
@dotnet-botdotnet-bot added this to the July 2022 milestone Jul 5, 2022
@dsyme
dsyme merged commit bc9794e into dotnet:mainJul 5, 2022
@nojaf
nojaf deleted the fsharp-if-then-else-match-with branch July 5, 2022 14:30
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[style-guide] Question about match block having vanity indentation

3 participants

@nojaf@dsyme@dotnet-bot