UNPKG

adt-simple

Version:

Algebraic data types for JavaScript using Sweet.js macros

18 lines (10 loc) 369 B
## 0.1.3 (2014-5-18) * Fixed bug where ADTs couldn't be used as constraints ## 0.1.2 (2014-5-10) * Added compiler pragmas to fine tune output * Constructors can have keyword fields * Record fields don't require a contract declaration ## 0.1.1 (2014-1-16) * Changed positional constructors to use array indexing ## 0.1.0 (2014-1-10) * Initial release