Changelog
Summary of the changes in each patch.
2.0.3​
- added
remote()andsequence(). - Improved handling of primitives in conditional types
- Added
types()function to replaceoutputTypes()and extend its functionality. - Added
matcher()function - Added
constrained(),patterned(), andaugmented(). - Added match helpers
just()(alias forconstant()) andunpack() outputTypes()gets a more specific return type.
2.0.2​
- Added
isTypeutility- and a curried overload
- The
matchfunction has some new overloads- default functionality
- type-safe 'else' handling
matchis now stricter, extraneous keys will raise a compiler errorpartialMatchandmatchElsewill soon be deprecated and removed in3.0- their functionality is now covered by
match
- their functionality is now covered by
variantModulealso accepts{}- improved generic handling (
genericVariant) - Acknowledgments
- Thank you @ohana54 for the discussion that led to
isTypeand thematchoverloads.
- Thank you @ohana54 for the discussion that led to
2.0.1​
- exposed
variantModule
2.0​
- first overhaul of library
- added recursive and generic variants
- added
variantModule variantListnow accepts raw string literals- match gets a helper,
constant()