You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
F# code formatting guidelines: Space before DU constructor arguments? #22664
I think it's somewhat finnicky, since it's not a function application nor is it a method call.
Let's have it be a space:
letopt1= Some ()letopt2= Some (1,2)
This is the most common style used in the F# compiler source code and several codebases I've interacted with, so that's as canonical as it gets, I suppose.
Activity
cmeeren commentedon Feb 14, 2021
/cc @cartermp
cartermp commentedon Mar 3, 2021
I think it's somewhat finnicky, since it's not a function application nor is it a method call.
Let's have it be a space:
This is the most common style used in the F# compiler source code and several codebases I've interacted with, so that's as canonical as it gets, I suppose.
Will happily accept a PR that adds this.