Releases: ace411/bingo-functional
bingo-functional v1.9.0
- Added more robust pattern matching to library
Modified the following function(s)
- dropLeft()
- dropRight()
- map()
- filter()
Added new helper function(s)
- min()
- max()
- any()
- every()
- where()
- groupBy()
- foldRight()
- toException()
- reduceRight()
bingo-functional v1.8.0
Removed the following callback function(s)
- invalidArrayKey()
- invalidArrayValue()
- emptyArray()
- memoizationError()
Modified the following function(s)
- map()
- pick()
- fold()
- pluck()
- reduce()
- filter()
- memoize()
- isArrayOf()
Added new helper functions
- fill()
- partial()
- indexOf()
- reverse()
- toPairs()
- fromPairs()
Added pattern matching to library
bingo-functional v1.7.2
Made the following change(s):
-
Modified the
orElse()
methods of the Left, Right, Nothing, and Just functors -
Added the
flatMap()
method to the State and List monads
bingo-functional v1.7.1
Made the following change(s):
-
Modified the
throttle()
function to accept multiple arguments -
Added type signatures and doc blocks for functions without any
-
Added immutable const definition for
concat()
function
bingo-functional v1.7.0
Added the following feature(s):
- List monad
bingo-functional v1.6.0
Made the following changes:
-
Modified the
filter()
function to accurately filter values whenever a boolean predicate is defined. -
Changed parameter order of the return value for the
reduce()
function.
Added new helper functions:
-
arrayKeysExist()
-
dropLeft()
-
dropRight()
-
unique()
-
flatten()
bingo-functional v1.5.0
Added new helper functions:
-
map()
-
filter()
-
fold()
-
reduce()
bingo-functional v1.4.0
Made the following changes:
-
the
pluck()
,pick()
,isArrayOf()
, andmemoize()
functions have been given callback signatures. -
the
extractErrorMessage()
function and all other related callback functions have been replaced. -
the Monad class has been replaced with new Monads: IO, Reader, Writer, and State.
Added new helpers:
-
concat()
-
throttle()
Added new callback functions:
-
invalidArrayKey()
-
invalidArrayValue()
-
emptyArray()
-
memoizationError()
Added new Monads:
-
State monad
-
IO monad
-
Reader monad
-
Writer monad
bingo-functional v1.3.1
Made the following fix:
- Edit the Monad class to return a Monad null class instance as opposed to an uncaught exception upon
filter()
condition assertion failure
bingo-functional v1.3.0
Added the following functions to the Monad functor
- filter()
- flatMap()