0.0.8 • Published 2 years ago

ts-prelude v0.0.8

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

ts-prelude

CI

Currently a collection of functional datatypes that I use on every project and will eventually expand further into a standard lib of fp utils / algebraic-data-types.

ADTs currently available:

  • Maybe
  • Result
  • IO
  • AsyncData
  • AsyncResult
  • Ref

Utils:

  • match (pattern matching)
  • TaggedUnion (builds discriminatred unions aka ADTs)
  • Nominal (construct nominal datatypes)
  • Phantom (constuct phantom datatypes)
  • Function
  • Property (sugar for a nicer property based test definition)
  • Refined (a library to build refined types)

Inspiration for above:

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago