Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update guide for long if or match expressions. #30094

Merged
merged 1 commit into from
Jul 5, 2022

Conversation

nojaf
Copy link
Contributor

@nojaf nojaf commented Jul 5, 2022

Summary

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

Fixes fsharp/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 owners July 5, 2022 07:43
@dotnet-bot dotnet-bot added this to the July 2022 milestone Jul 5, 2022
@dsyme dsyme merged commit bc9794e into dotnet:main Jul 5, 2022
@nojaf nojaf deleted the fsharp-if-then-else-match-with branch July 5, 2022 14:30
Sign up for free to 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