Releases: mckayb/phantasy
Releases · mckayb/phantasy
v1.2.0
v1.1.0
v1.0.0
v0.14.2
v0.14.1
v0.14.0
v0.13.0
- Added
Set
andCollection
Data Types. - Made sure that all of the Core functions for Functor, Applicative, Monad, Foldable, Traversable, etc would work with regular php arrays.
- Added array natural transformations in the core functions.
- Added fromFalse methods to
Maybe
,Either
, andValidation
, since a lot of php functions return false on failure.
v0.12.0
- Added Kleisli composition through
composeK
. - Added various foldable methods like
fold
,foldMap
,unfold
. - Added do-like notation using generator functions with
mDo
. - Added
head
andtail
methods for working with arrays and LinkedLists. - Added traversable and extend instances to
Validation
. - Standardized the
fold
andcata
methods on the various DataTypes.
v0.11.0
v0.10.0
- Added much more fantasyland-helpers such as of, extend, chainRec, etc etc.
- Added comonad and extend instances to Writer.
- Added better type signatures to all of the functions.
- Made it so that every method call in the datatypes is also curried.
- And more! Check out the docs.