Open nojaf opened 3 years ago
Hello, I'm wondering what the recommended way is to write a multiline lazy expression.
let v = lazy ( // some code // other code myFunctionCall x y z )
Should it follow the function application rule and be something like
lazy (multlilineExpression)
or does it follow the Formatting constructors, static members, and member invocations rule?
lazy ( multilineExpression )
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
I think it should follow the latter one even though it's not a member. The reason is that this is the easiest one to reproduce without an automatic formatter and not run into the parser being unhappy.
Hello, I'm wondering what the recommended way is to write a multiline lazy expression.
Should it follow the function application rule and be something like
or does it follow the Formatting constructors, static members, and member invocations rule?
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.