Proposal: Add intermediate monadic types for option and generated results e.g. OptionNone with implicite conversion to Option<T> to enhance type inference #38
Labels
enhancement
New feature or request
C# has very limited type inference. An intermediate monadic type representation would support C#'s type inference. For instance returning a
OptionNone
fromOption.None
that will be implicitly converted to an Option as soon as it is passed to an already strong typed method. This could be just an extension asOption.None<T>
could still returnOption<T>
.The text was updated successfully, but these errors were encountered: