Releases: cptjazz/Bebop.Monads
Releases · cptjazz/Bebop.Monads
v2.2.0
v2.1.0
v2.0.0
Features (breaking)
- Complete overhaul of the async binding functions.
MapAsync(..)
is now fully "stackable" and only requires one terminalawait
, and - Methods previously marked as
obsolete
were removed.
Features (non-breaking)
- Various performance optimizations.
v1.4.0
Features
- Introduced
IMaybe.Value
andIMaybe
1.Valueand obsoleted the
.GetValueOrDefault(..)` infrastructure methods. - Introduced separate
MapAsync(..)
methods forTask
andValueTask
; obsoleted theMap(..)
overload with the async binder - Introduced
OrElseAsync(..)
methods forTask
andValueTask
to support async creation of alternative values.
v1.3.0
v1.2.0
v1.1.1
v1.1.0
Bugfixes
- Fixed issues with
Equals()
onMaybe.Nothing<ValueType>()
and a Maybe constructed viaMaybe.From<ValueType>(default)
. - Fixed equality issues between the generic/non-generic inheritance chain.
Features
- Provide implicit conversion from
T
toMaybe<T>
where- a non-null value of
T
maps toMaybe.From<T>(value)
, and - a null value of
T
maps toMaybe.Nothing<T>()
.
- a non-null value of
v1.0.0
Initial release of this library. Currently, an implementation of Maybe<T>
is provided.