Enum Fp Versions Save

Functional Enum type / Sum type for javascript with simple pattern matching

v1.0.0

5 years ago

Added

  • Adds documentation for types in enum_type.md

Changed

  • Fixes zero argument type validation issue

v1.0.0-alpha.2

5 years ago

Added

  • Adds and exposes Type Sum Type to allow shape and argument validation
  • Adds argument validation to Enum

Changed

  • Refactors and reduces some of the functions to improve build size and performace

v1.0.0-alpha.0

5 years ago

Added

  • Adds cata and reduce aliases for caseOf
  • Changelogs

Changed

  • Moves documentation from Github Wiki to /docs to be easier to maintain
  • Some code refactoring to improve code quality and performance
  • Internal semantics to be more consistent in the way we describe the functions

Removed

  • useReducer and reducerComponent HOC, to trim the fat as both the functionalities are just one of the use cases and can be provided as a custom wrapper. The documentation includes the internals of the functions if anyone wants to use them
  • Removes some properties and methods from the instances to make it lighter and expose a simpler api

v0.0.5

5 years ago

Changes

  • Adds useEnumReducer