We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 84e066b + 43064c6 commit 548fc33Copy full SHA for 548fc33
docs/fsharp/style-guide/formatting.md
@@ -1651,6 +1651,16 @@ type TypeWithLongConstructor
1651
aThirdVeryLongCtorParam: AVeryLongTypeThatYouNeedToUse
1652
) =
1653
// ... the body of the class follows
1654
+
1655
+// ✔️ OK
1656
+type TypeWithLongSecondaryConstructor () =
1657
+ new
1658
+ (
1659
+ aVeryLongCtorParam: AVeryLongTypeThatYouNeedToUse,
1660
+ aSecondVeryLongCtorParam: AVeryLongTypeThatYouNeedToUse,
1661
+ aThirdVeryLongCtorParam: AVeryLongTypeThatYouNeedToUse
1662
+ ) =
1663
+ // ... the body of the constructor follows
1664
```
1665
1666
If the parameters are curried, place the `=` character along with any return type on a new line:
0 commit comments