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
There is still an inconsistency when it comes to computation expressions.
If the first expression was short and the second long, it should have a newline between the first and second.
In general, Fantomas add newlines between multiline constructs and this doesn't apply here.
* Extend LetOrUseBang to deal with short expression followed by a multiline expression. Fixes#838
* Start refactoring of computation expressions.
* Added additional ComputationExpressionTests.
* Some more CE tests
* Removed unused code
Issue created from fantomas-online
There is still an inconsistency when it comes to computation expressions.
If the first expression was short and the second long, it should have a newline between the first and second.
In general, Fantomas add newlines between multiline constructs and this doesn't apply here.
Code
Result
Options
Fantomas Next - 4.0.0-alpha-001-1/1/1990
IndentSpaceNum
4
PageWidth
120
SemicolonAtEndOfLine
false
SpaceBeforeParameter
true
SpaceBeforeLowercaseInvocation
true
SpaceBeforeUppercaseInvocation
false
SpaceBeforeClassConstructor
false
SpaceBeforeMember
false
SpaceBeforeColon
false
SpaceAfterComma
true
SpaceBeforeSemicolon
false
SpaceAfterSemicolon
true
IndentOnTryWith
false
SpaceAroundDelimiter
true
MaxIfThenElseShortWidth
40
MaxInfixOperatorExpression
50
MaxRecordWidth
40
MaxArrayOrListWidth
40
MaxLetBindingWidth
40
MultilineBlockBracketsOnSameColumn
false
NewlineBetweenTypeDefinitionAndMembers
false
StrictMode
false
The text was updated successfully, but these errors were encountered: