Skip to content

Releases: shanoaice/bethlehem

bethlehem @ 1.9.0

13 Feb 12:37
Compare
Choose a tag to compare

bethlehem @ 1.8.0

02 Feb 04:11
Compare
Choose a tag to compare

New Features

Documents

bethlehem @ 1.7.2

29 Jan 13:30
Compare
Choose a tag to compare

Bugfixes:

  • Fixes incorrect type declearation @38611fc

DEPRECATED VERSION, DO NOT USE.

29 Jan 13:27
Compare
Choose a tag to compare

Deprecation message

The type declarations shipped with this version is incorrect. v1.7.2 fixes this problem.

bethlehem @ 1.7.0

29 Jan 13:26
Compare
Choose a tag to compare

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

29 Jan 02:12
Compare
Choose a tag to compare
  • 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

28 Jan 10:09
Compare
Choose a tag to compare

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

28 Jan 10:05
Compare
Choose a tag to compare

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

27 Jan 08:28
Compare
Choose a tag to compare

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

26 Jan 07:19
Compare
Choose a tag to compare

New Features:

  • B.sequence which generates a sequence inside an array
  • B.functionalSwitch which is a functional version of switch
  • B.functionalIf which is a functional version of if

A lot of updates in deps reference