typecraft

library for crafting types and casting type inhabitants

MIT License

Downloads
9
Stars
0
Committers
2

Bot releases are visible (Hide)

typecraft - v1.2.0-alpha.3 Latest Release

Published by aaditmshah about 2 years ago

v1.2.0-alpha.3 (2022-09-23)

🔒 Security Issues

  • 8d4b850 Upgrade semantic-release-gitmoji fixes #24. (Issues: #24)
typecraft - v1.2.0-alpha.2

Published by aaditmshah about 2 years ago

v1.2.0-alpha.2 (2022-09-19)

🐛 Bug Fixes

  • 2e7e9ea Transform the result of a lazy type.
typecraft - v1.2.0-alpha.1

Published by aaditmshah about 2 years ago

v1.2.0-alpha.1 (2022-09-18)

✨ New Features

  • 483dd40 Create a Yoneda embedding for type schemas.
typecraft - v1.1.1-alpha.1

Published by aaditmshah about 2 years ago

v1.1.1-alpha.1 (2022-09-17)

🐛 Bug Fixes

  • 3ecee4a Report actual input for when union was expected.
typecraft - v1.1.0

Published by aaditmshah about 2 years ago

v1.1.0 (2022-09-15)

✨ New Features

  • c9c87ec feat: add pipe and composition abstract data types
typecraft - v1.0.0

Published by github-actions[bot] about 2 years ago

1.0.0 (2022-09-13)

Bug Fixes

  • accept both failure and unbound as not success (9b8f912)
  • copy .d.ts files to dist, fixes #4 (2ed5988)
  • do not use concat for propTypes (3c94991)
  • nondetObject returns empty object for base case (82fffa0)
  • only run ci on push (4234e1a)
  • published the correct dist (4a13a9f)
  • spread the types for tuple, union, and intersection (9f056ed)

Features

  • add continuous integration workflow (1bdff0a)
  • add documentation (1002853)
  • add function to cast type inhabitants (fa634f8)
  • add primitive type combinator (05cc56a)
  • Add shields and enforce 100% code coverage (6114906)
  • add test cases (124432d)
  • always return a value on success (f5c3182)
  • export cast type and function (13d2930)
  • initial commit (31bf36f)
  • move recursive function into types.js (7df8a02)
  • optimize the main and module targets (9378b04)
  • refactor the recursive function (6ade673)
  • rename recursive to spin and make it dry (8219183)
  • simplify the fix function (a0b27c6)
  • use fast-check for testing fix (48333b0)
  • use proper mu-recursive types (38d1e2e)