Releases: thomaslevesque/Hamlet
Releases · thomaslevesque/Hamlet
1.0.0
1.0.0-beta.2
New
- Added support for:
- .NET Standard 1.0,
- .NET Framework 4.0
- .NET Framework 4.5
Fixed
- Included PDBs in package
1.0.0-beta.1
New
- Added support for C# 8 nullable reference types
Changed
- Replaced
GetValueOrDefault
with 3 new methods to better support nullability analysis.ValueOrDefault<T>() where T : struct
: returns the option's value, ordefault(T)
if the option isNone
ValueOrNull<T>() where T : class?
: returns the option's value, ornull
if the option isNone
ValueOr<T>(T defaultValue)
: returns the option's value, ordefaultValue
if the option isNone
1.0.0-alpha.4
New
- Add
BindMap
method - Add
ToArray
andToList
methods - Add
Do
method - Add TryFind and
TryFindIndex
methods
Changed
- Rename
ToOption
toSomeIfNotNull
1.0.0-alpha.3
New
- Add
Choose
,Pick
andTryPick
methods
1.0.0-alpha.2
New
- Add equality operators
1.0.0-alpha.1
Initial release