Splitting ExperimentalStroustrupStyle to separate settings #2276
Closed
Description
I love the ExperimentalStroustrupStyle
setting in records, but I hate it in computation expressions.
Computation expressions are so crucial part of F# that it should be very clear what goes on there.
What we want to optimize? Maintenance.
Let's observe the following code:
let myMethod() =
async {
let! x =
async {
do! waitSomething()
return 4
}
return {
Id = 1
Data1 = "asdf"
Data2 = "asdf"
Data3 = x
}
}
There is no way to create this properly on any settings in Fantomas.