What's new in version 1.2:
- Added tests
- Deprecated the
StructNull
pattern in favour ofValueNull
- Fixed a bug which made strict matching with fallthrough unusable
- Fixed null handling in some predefined patterns
- Minor code refactoring
What's new in version 1.1:
Matcher
classes renamed toMatch
(breaking change).OptionUnsafe
is now used instead ofOption
in patterns to fully supportnull
values (breaking change).ExecuteOnStrict
inMatch<TInput>
renamed toExecuteStrict
(breaking change).- Implemented matching with fallthrough
- Added two new patterns -
Null
for classes andStructNull
for nullable structs.
Although there are several breaking changes, the major version is not incremented, as these changes will probably not actually break anything, because not many people have used version 1.0 so far.
The initial version of the PatternMatching library.