Bingo Functional v1.13.0 Release Notes
Release Date: 2020-09-19 // over 3 years ago-
Modified
putStr
,getLine
,putStrLn
,putChar
IO helper functions➕ Added default values to
pick
andpluck
functions➕ Added internal functions namespaced under
Chemem\Bingo\Functional\Algorithms\Internal
Modified some list/collection primitives to work on objects as well as hashtables
Infused Collection with Transient properties
➕ Added
mergeN()
Collection methodModified
any()
andevery()
Collection methods➕ Added
ImmutableDataStructure
andImmutableList
interfaces➕ Added a Tuple immutable structure
➕ Added
mapM()
Monad functionReplaced original pattern-matching algorithm with that in the
functional-php/pattern-matching
library➕ Added new helper functions
🚚 Jettisoned docs folder. Moved docs site to new address
🆕 New Helper Functions
intersperse()
difference()
countOfKey()
countOfValue()
📇 renameKeys()
🆕 New Monadic Helper functions
- mapM()
Modified functions
map()
filter()
fold()
reject()
pluck()
pick()
any()
every()
partial()
indexOf()
indexesOf()
➕ addKeys()
omit()
partialRight()
⬇️ dropLeft()
⬇️ dropRight()
mapDeep()
filterDeep()
Previous changes from v1.12.0
-
✂ Removed function parameter from
zip
functionCreated
Monadic
interface for Monads➕ Added new helper functions
➕ Added new Monad helper functions
➕ Added APCU-supported functionality to memoize function
➕ Added constant static function definitions for
Monadic
types➕ Added new
Collection
functions🆕 New Helper functions
toWords()
slugify()
truncate()
intersects()
composeRight()
filePath()
union()
unionWith()
zipWith()
🆕 New Monadic Helper functions
filterM()
foldM()
🆕 New Collection functions
fetch()
contains()
unique()
head()
tail()
last()
intersects()
implode()
offsetGet()