Due in no small part to the contributions from @megafinz, v2.3.0 has turned into a significant release with many new features that all need documenting. This issue is my checklist of things that need doing before I can release this version.
[x] Add implicit conversion from T to Option<T> (ie, should be possible to create an option of int using Option<int> x = 1; as an alternative to using Option<int>.Some(1).
[x] Add implicit conversion of T1 ... T4 to Union<...> types as per the above.
[x] Add JSON converters for Either<TLeft,TRight> and Success<T>.
[x] Document the new Map, Or, Flatten and Choose, ToOption, AsNullable and TryCast extensions to Option<T>
[x] Document the option-based TryGetValue extension to IDictionary<,>
[x] Improve the Option<T> and Maybe<T> docs to link to the above features.
[x] Check that the Success<T> type supports implicit conversions from T and add if not.
[x] Document the Success<T> type.
[x] Document the Either<TLeft,TRight> type.
[x] Document the wildcard matching additions to tuple patterns.
Due in no small part to the contributions from @megafinz, v2.3.0 has turned into a significant release with many new features that all need documenting. This issue is my checklist of things that need doing before I can release this version.
T
toOption<T>
(ie, should be possible to create an option of int usingOption<int> x = 1;
as an alternative to usingOption<int>.Some(1)
.T1
...T4
toUnion<...>
types as per the above.Either<TLeft,TRight>
andSuccess<T>
.Option<T>
IDictionary<,>
Option<T>
andMaybe<T>
docs to link to the above features.Success<T>
type supports implicit conversions fromT
and add if not.Success<T>
type.Either<TLeft,TRight>
type.