Releases: polyadic/funcky
Releases · polyadic/funcky
2.0.0-rc.1
- Full nullable support introduced with C# 8
- Rename
Option.From
->Option.FromNullable
and remove overload that takes non-nullable value types. - Use
Func<T, bool>
instead ofPredicate<T>
in predicate composition functions (Functional.All
,Functional.Any
,Functional.Not
),
because most APIs inSystem
useFunc
. Functional.Any
now returnsfalse
when the given list of predicates is empty.- The
Each
extension method onIEnumerable<T>
has been renamed toForEach
. - Unify
Option<T>.ToEnumerable
andYield
toToEnumerable
- Remove
Reader
monad based onawait
. Exception
created byResult
monad contains valid stack trace
1.8.1
1.8.0
- Added overload for
AndThen
which flattens theOption
- Add
Where
method toOption<T>
, which allows filtering theOption
by a predicate. - Add overload for
Option<T>.SelectMany
that takes only a selector. - Add
WhereNotNull
extension method forIEnumerable<T>
.
1.7.0
- Add nullability annotations to everything except for
Monads.Reader
. - Add a function for creating an
Option<T>
from a nullable value:Option.From
. Either.Match
now throws when called on anEither
value created usingdefault(Either<L, R>)
.- Add
True
andFalse
functions to public API - Match of
Result
Monad accepts actions - Add
FirstOrNone
,LastOrNone
andSingleOrNone
extension functions