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
Currently the F# style guide lacks guidance for code quotations. This causes issues for Fantomas.
See 2211 for more background, especially nojaf's example.
So let's change that.
We suggest to put the delimiter symbols (<@ , @>, <@@, @@>) on separate lines if the quoted expression is a multi-line expression like:
<@letf x = x +10
f 20@>
and to keep everything in one line for single-line expressions like:
<@1+1@>
(Assuming the expression fits in one line.)
The language reference is using this style for the most part, too.
I'd be happy to create the needed pull requests after we have come to a conclusion on this issue.
The text was updated successfully, but these errors were encountered:
Currently the F# style guide lacks guidance for code quotations. This causes issues for Fantomas.
See 2211 for more background, especially nojaf's example.
So let's change that.
We suggest to put the delimiter symbols (
<@
,@>
,<@@
,@@>
) on separate lines if the quoted expression is a multi-line expression like:and to keep everything in one line for single-line expressions like:
(Assuming the expression fits in one line.)
The language reference is using this style for the most part, too.
I'd be happy to create the needed pull requests after we have come to a conclusion on this issue.
The text was updated successfully, but these errors were encountered: