0.6.1
Version 0.6.1
-
Maybe:
- Add == and != operators to compare a value directly with the wrapped one.
- Add extensions to unwrap the Maybe value.
- Add Exists extension which is equivalent to Any with a predicate.
- Add extension to extract values from an enumerable of Maybe.
- Add extensions to convert a Maybe to Enumerable/Enumerator.
- Add extensions SingleOrNone and ElementAt on IEnumerable.
- Add an explicit Flatten extension.
- Add extensions to perform treatments on Maybe that wrap an IEnumerable (for each, any, where, etc).
- Make Maybe IComparable and IComparable<Maybe>.
-
Results:
- Add == and != operators to compare a value directly with the wrapped one.
- Implement equals, == and != operators to compare results with a result of same type.
- WARNING: Remove implicit conversions to boolean that produce unwanted behaviors when trying to compare results.
- Add a Result scope to run a simple action.
- Add a SuccessEquals method for each result type and associated static helpers.
- Make result structures IComparable and IComparable.