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
letcanConvertMemorised=
Memoized.memoize
(fun objectType ->(// Include F# discriminated unions
FSharpType.IsUnion objectType
// and exclude the standard FSharp lists (which are implemented as discriminated unions)&¬(objectType.GetTypeInfo().IsGenericType && objectType.GetGenericTypeDefinition()= typedefof<_ list>))// include tuples|| tupleAsHeterogeneousArray && FSharpType.IsTuple objectType
)
Result
letcanConvertMemorised=
Memoized.memoize (fun objectType ->(FSharpType // Include F# discriminated unions
.IsUnion
objectType
// and exclude the standard FSharp lists (which are implemented as discriminated unions)&¬(
objectType.GetTypeInfo().IsGenericType
&& objectType.GetGenericTypeDefinition()= typedefof<_ list>))// include tuples|| tupleAsHeterogeneousArray && FSharpType.IsTuple objectType)
Problem description
Please describe here the Fantomas problem you encountered.
Check out our Contribution Guidelines.
Extra information
The formatted result breaks my code.
The formatted result gives compiler warnings.
I or my company would be willing to help fix this.
Options
Fantomas main branch at 1/1/1990
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:
Issue created from fantomas-online
Code
Result
Problem description
Please describe here the Fantomas problem you encountered.
Check out our Contribution Guidelines.
Extra information
Options
Fantomas main branch at 1/1/1990
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: