Releases: shanoaice/bethlehem
Releases · shanoaice/bethlehem
bethlehem @ 1.9.0
New Features
B.toString
Commit:5f7c17d
bethlehem @ 1.8.0
bethlehem @ 1.7.2
Bugfixes:
- Fixes incorrect type declearation
@38611fc
DEPRECATED VERSION, DO NOT USE.
Deprecation message
The type declarations shipped with this version is incorrect. v1.7.2 fixes this problem.
bethlehem @ 1.7.0
New Features
Benchmarks
Most benchmarks of this repo is still a work in progress. There are some benchmarks of possible internal implementations of Bethlehem though. The repo for it is KsRyY/bethlehem-impl-bench.
✨ New features
B.reverse
Returns a new list or string with the elements or characters in reverse order.B.flip
Returns a new function much like the supplied one, except that the first two arguments' order is reversed.B.flipAll
Returns a new function much like the supplied one, except that all the arguments' order is reversed.
bethlehem @ 1.5.0
Refactor
- Now B.every will pass the index and the current list to its predicate as its second and third parameters, respectively.
d24c120
Typings
- Updated B.some's definition because B.some passes index and the current list to its predicate from a long time ago, but the type definition does not show that.
d24c120
bethlehem @ 1.4.0
New Feature
- B.instanceOf
- B.isNil
- B.join
Bugfixes
- Removed a development-only console.log that I accidently left in B.functionalIf
906cbd5
bethlehem @ 1.3.0
Bugfix
- Correct errors in the npm
prepublishOnly
script that causes problems on module entry
Please update your dependency on this package.
✨ More new features and some minor tweak
New Features:
B.sequence
which generates a sequence inside an arrayB.functionalSwitch
which is a functional version ofswitch
B.functionalIf
which is a functional version ofif