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
Target.create "Build"(fun ctx ->// code// here())letprintListWithOffsetPiped a list1 =
list1
|> List.iter (fun elem ->//
printfn $"A very long line to format the value: %d{a + elem}")
Result
Target.create
"Build"(fun ctx ->// code// here())letprintListWithOffsetPiped a list1 =
list1
|> List.iter
(fun elem ->//
printfn $"A very long line to format the value: %d{a + elem}")
Issue created from fantomas-online
Code
Result
Problem description
As discussed in dotnet/docs#25207, the guidance for lambda's has changed.
The MS style guide was updated, see https://docs.microsoft.com/en-us/dotnet/fsharp/style-guide/formatting#formatting-function-parameter-application.
This issue is meant for tracing purposes.
Since this will have quite some user impact, the fix should be targeted against the 4.6 branch.
Extra information
Options
Fantomas Master at 08/19/2021 16:27:53 - a80f888
Default Fantomas configuration
Did you know that you can ignore files when formatting from fantomas-tool or the FAKE targets by using a .fantomasignore file?
The text was updated successfully, but these errors were encountered: