fantasy-land

Specification for interoperability of common algebraic structures in JavaScript

MIT License

Downloads
20.5K
Stars
10K
Committers
57

Bot releases are hidden (Show)

fantasy-land - Version 5.0.1 Latest Release

Published by davidchambers almost 2 years ago

exports.types is now specified in package.json (#333).

fantasy-land - Version 5.0.0

Published by davidchambers over 3 years ago

Package is now compatible with native ES modules (#326).

fantasy-land - Version 4.1.0

Published by davidchambers over 4 years ago

Package now includes an ES module in addition to a CommonJS module (#321).

fantasy-land - Version 4.0.1

Published by davidchambers over 5 years ago

README.md has been reinstated (#313).

fantasy-land - Version 4.0.0

Published by davidchambers over 5 years ago

⚠️ Modules for verifying laws have been removed (#284). Use fantasy-laws instead.

Prefixed method names are now used throughout the document (#310). This should reduce confusion.

index.d.ts is now provided for TypeScript users (#294).

bower.json is no longer included in the repository (#292).

Various errors in README.md have been corrected (#308, #309).

fantasy-land - Version 3.5.0

Published by davidchambers almost 7 years ago

New type class: Filterable (#274).

fantasy-land - Version 3.4.0

Published by davidchambers about 7 years ago

New type class: Group (#272).

fantasy-land - Version 3.3.0

Published by davidchambers over 7 years ago

New type classes: Semigroupoid and Category (#248).

fantasy-land - Version 3.2.0

Published by davidchambers over 7 years ago

New type class: Ord (#235).

fantasy-land - Version 3.1.0

Published by davidchambers over 7 years ago

New type class: Contravariant (#150).

fantasy-land - Version 3.0.0

Published by davidchambers almost 8 years ago

fantasy-land/traverse now takes a type representative rather than an of function (#220). Additionally, the order of the method's parameters has changed.

fantasy-land - Version 0.3.0

Published by davidchambers almost 8 years ago

fantasy-land - Version 0.2.0

Published by davidchambers almost 8 years ago

fantasy-land - Version 0.1.0

Published by davidchambers almost 8 years ago

fantasy-land - Version 2.2.0

Published by davidchambers almost 8 years ago

Extend now depends on Functor (#213). Although the type-class diagram implied this, the textual component of the specification stated that Comonad rather than Extend depended on Functor.

The third Comonad law has been removed (#213).

fantasy-land - Version 2.1.0

Published by davidchambers almost 8 years ago

New type classes: Alt, Plus, and Alternative (#197).

Breaking changes to fix problems with fantasy-land/laws (#193). If depending on fantasy-land/laws one should lock major and minor version numbers (e.g. 2.1.x). The specification itself follows semantic versioning, but minor releases may continue to include breaking changes to fantasy-land/laws.

fantasy-land - Version 2.0.0

Published by davidchambers almost 8 years ago

This release introduces the concept of type representatives (#180). fantasy-land/empty, fantasy-land/of, and fantasy-land/chainRec must now be defined on type representatives. It's no longer necessary to look for definitions in two places – expressions such as typeof x['fantasy-land/empty'] == 'function' ? x : x.constructor are no longer required when defining polymorphic functions!

The type-class diagram in the readme now includes all the type classes defined in the specification (#192).

fantasy-land - Version 1.0.1

Published by SimonRichardson about 8 years ago

Minor update that includes the following:

  • Fixed the type signature for chainRec
  • Typo's
  • Bower registry
fantasy-land - Version 1.0.0

Published by SimonRichardson about 8 years ago

Fantasy-Land version 1.0.0

Breaking changes

  • ap arguments have now been flipped to keep in line with map and chain #145
  • Specification now requires prefixed method names #146
  • Traversable algebra now requires traverse method instead of sequence #135

Other improvements

  • chainRec type has been added #152
  • Fantasy-Land now builds against TravisCI #161
  • Various typo fixes (if you see anymore PR's are more than welcome)
  • Type signatures are now in the spec to hopefully make some of the spec clearer #147

Thanks goes to: @rpominov @davidchambers @safareli @scott-christopher @joneshf and many more.

fantasy-land - Version 0.2.1

Published by SimonRichardson over 8 years ago

Contains:

  • Constant names for methods
  • Addition of the laws for the specification