Closed
Description
When set to false, we get this:
x.ToLower()
Seq.map(fun x -> x * 2)
Console.Writeline("something")
Some(a, b) -> ()
But when it's false we get this:
x.ToLower ()
Seq.map (fun x -> x * 2)
Console.Writeline ("something")
| Some (a, b) -> ()
What I would like to get is this:
x.ToLower()
Seq.map (fun x -> x * 2)
Console.Writeline("something")
| Some (a, b) -> ()
My suggestion is to remove the option and:
- If it's the unit () argument, don't add a space before the parens
- If it's a function with curried arguments like Seq.map etc., add a space before the parens
- If it's a function with tupled arguments, don't add a space before the parens
- If it's a DU constructor, add the space before the parens
What do you think?
Metadata
Assignees
Labels
No labels