Skip to content

Releases: polyadic/funcky

2.0.0-rc.1

15 Jun 10:54
6a9f996
Compare
Choose a tag to compare
2.0.0-rc.1 Pre-release
Pre-release
  • 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 of Predicate<T> in predicate composition functions (Functional.All, Functional.Any, Functional.Not),
    because most APIs in System use Func.
  • Functional.Any now returns false when the given list of predicates is empty.
  • The Each extension method on IEnumerable<T> has been renamed to ForEach.
  • Unify Option<T>.ToEnumerable and Yield to ToEnumerable
  • Remove Reader monad based on await.
  • Exception created by Result monad contains valid stack trace

1.8.1

10 Jun 15:40
7e2810c
Compare
Choose a tag to compare
  • Publish symbols package

1.8.0

10 Jun 10:18
5d96adb
Compare
Choose a tag to compare
  • Added overload for AndThen which flattens the Option
  • Add Where method to Option<T>, which allows filtering the Option by a predicate.
  • Add overload for Option<T>.SelectMany that takes only a selector.
  • Add WhereNotNull extension method for IEnumerable<T>.

1.7.0

08 Jun 12:09
b5a16d5
Compare
Choose a tag to compare
  • 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 an Either value created using default(Either<L, R>).
  • Add True and False functions to public API
  • Match of Result Monad accepts actions
  • Add FirstOrNone, LastOrNone and SingleOrNone extension functions

1.6.0

26 May 09:08
4bacd90
Compare
Choose a tag to compare
  • Add ToEnumerable function to Option<T>.
  • Add WhereSelect extension function for IEnumerable<T>.
  • Add missing overload for nullary actions to ActionToUnit.