Releases: magicmonty/SharpFun
Releases · magicmonty/SharpFun
Release 5.1.0
Added
- Unit type
- Linq Comprehensions for Result
- A lot of helper extensions for Option and Result
Either.IsLeft
,Either.IsRight
Either.Match
which returns a valueResult.IsFailure
,Result.IsSuccess
Result.Match
which returns a valueOption.Match
which returns a valueOption.ValueEquals
to compare the underlying value- lazy evaluated
Option.ReturnValueOr
- Included StyleCop Analyzers
Changed
- Renamed
Result.MatchSuccess
intoResult.DoOnSuccess
- Renamed
Result.MatchFailure
intoResult.DoOnFailure
Fixed
- Re-added XML documentation in package
Release 5.0.0
Switch to .net 5.0
- switched to NUKE as build system
- switched to xUnit as Test framework
- Added nullable annotations
Release 2.0.1.0
Adds multi platform support for .Net 3.5, .Net 4.0, Portable .Net 4.5 + Windows 8.0 + Windows Phone 8.1
Release 2.0
- Adds
Either
type - Adds
Result
type - Renames
IsSome
toHasValue
andIsNone
toHasNoValue
as they fit better the intention - Renames
Option.Else
toOption.Unless
- new Extension methods for
IEnumerable
:Option<T> FirstOrNone<T>(this IEnumerable<T>)
Option<T> LastOrNone<T>(this IEnumerable<T>)
- Extension method
IEnumerable<T>.OptionValues()
is now null safe
Release 1.0.0.0
Updates Version to 1.0.0.0 Added NuGet-Badge for first release Added Target "PushPackage" to build.fsx