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
(* My personal favorite: Discriminated Unions! This is a feature related to sum types in category theory and incredibly useful for code correctness. ref: https://docs.microsoft.com/en-us/dotnet/fsharp/language-reference/discriminated-unions*)typeDays= Days ofint// you can alias types in F# to get a DDD kind of vibe.typeStoryPoints= StoryPoints ofinttypeMoney= Money ofdouble
Result
(* My personal favorite: Discriminated Unions! This is a feature related to sum types in category theory and incredibly useful for code correctness. ref: https://docs.microsoft.com/en-us/dotnet/fsharp/language-reference/discriminated-unions*)typeDays= Days ofint// you can alias types in F# to get a DDD kind of vibe.typeStoryPoints= StoryPoints ofinttypeMoney= Money ofdouble
Problem description
There should not be a blank line after the first type.
Extra information
The formatted result breaks by code.
The formatted result gives compiler warnings.
I or my company would be willing to help fix this.
Issue created from fantomas-online
Code
Result
Problem description
There should not be a blank line after the first type.
Extra information
Options
Fantomas Master at 05/09/2021 13:45:10 - f10b822
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: