Release: v1.0.0-rc10
This is very much a breaking change. If you are not prepared for breaking changes stick to npm install static-sum-type
. There'll be a migration / change log when the official release for v1 happens.
- A function for extracting the name of a case from a case instance. Fixes #30 (closed)
- either / maybe instances now have a
fold
method. Fixes #17 (closed) - Expose undocumented meta methods that help describe a type or a case. #30 (closed)
- Introduce experimental
otherwise
feature and remove mapCase, chainCase, etc in the process #29 (closed) - Introduce
map
andchain
generically. #29 (closed) - Add
.fold
toylslashn
instances #17 (closed) - Introduce
getOr
andgetWith
#23 (closed) - Add Error Checking for invalid case structures for
fold
,map
andchain
#29 (closed) - Reused some of
fold
's error checking to improve some error messages. - Type check eagerly in ylashn's map/chain/bimap
- Fix documentation error #26 (closed)
- Abstracted away access to
.case
and.type
to open up possibilities for: #31 (closed) and improve error handling. - Introduced some experimental methods for comparing instances #28 (closed)
Edited by James