Render FSharp.Option types as if they were Nullable<T>
It would be nice if FSharp Option types would render as (value | null), rather than, at the moment, as a nested table with (Some(value) | None)
This would be consistent with the rendering for Nullable<T>, which prefers readability over being totally strict around the type system.
I appreciate you don't want to add an endless list of special cases, but this would be really useful.
3
votes
Piers Williams
shared this idea
-
sdflysha commented
Sounds reasonable, and please optimize code highlight and auto complete for F#.