4.2.0 (2022-08-18)
- implement
fold
(6582c6a)
4.1.0 (2022-03-23)
- implement
apply
(6c8a4b4)
4.0.0 (2022-01-28)
- refactor
fallback
as an operator function. close #38 (38c1bb0) - remove
concede
. close #35 (30c75aa) - remove support of strings as lists. close #36 (1ae4b26)
- the following functions no longer accept strings as lists:
all
,any
,drop
,filter
,into
,map
,none
andtake
. fallback
is now an operator function.- the
concede
function is no longer available
3.3.0 (2022-01-13)
3.2.0 (2022-01-09)
- fix bug in return condition for
and
(178bdfc)
- implement
div
as an operator function (67a4003) - implement
exp
as an operator function (bd930aa) - implement
mod
as an operator function (b3eed71)
3.1.0 (2022-01-03)
- implement 'and' as an operator function (872b809)
- implement 'gte' as an operator function (0a2f3d7)
- implement 'or' as an operator function (fa09cbd)
- implement
gt
as an operator function (44616ff) - implement
lt
as an operator function (c3a6dd2) - implement
lte
as an operator function (06db5ff) - implement
subtract
as an operator function (608b408)
3.0.0 (2022-01-01)
- all: predicate must return logical true (9629716)
- allfn: predicates can return logical true (25f351d)
- any: predicate can return logical true (e51a716)
- anyfn: functions can return logical true (cbd906f)
- cond: predicates can return logical true (c0769cc)
- filter: predicate can return logical true (aff27d3)
- implement T & F. see #29 (d3bd940)
- none: predicate can return logical true (f7f0215)
- nonefn: predicates can return logical true (ff97496)
- some: functions can return logical true (bea45ab)
- unfold: predicate can return logical true (7ec376f)
- when: allow one or more
x
to be given tof
andg
(a571489)
- unfold(pred)(map)(next)(x): predicate can return logical true
- some(...fn)(...args): functions can return logical true
- nonefn(...pred)(...args): predicates can return logical true
- none(pred)(xs): predicate can return logical true
- filter(pred)(xs): predicate can return logical true
- cond(...fn)(...args): predicates can return logical true
- anyfn(...fn)(...args): functions can return logical true
- any(pred)(xs): pred can return logical true
- allfn(...pred)(...args): predicates can return logical true
- all(pred)(xs): predicate can return logical true
- when(pred)(...x): predicate can return logical true. see #29
- the library is now available at
window['@customcommander/functionaut']
in a browser environment
2.2.0 (2021-10-29)
2.1.0 (2021-10-27)
- into: stop mutating init (5295494)
2.0.0 (2021-10-12)
- the function returned by unary does not need to be curried (cf51ece)
- The function has been changed to accept only one predicate and a list of values instead of any number of parameters.
Migration:
v1: all(isNum, isOdd)(1, 2, 3)
v2: all(x => isNum(x) === true && isOdd(x) === true, [1, 2, 3])
- Type checking parameters is gone. See corresponding Architecture Decision Record (ADR).
1.13.0 (2021-10-11)
- implement some (0cfc779)
1.12.0 (2021-10-09)
1.11.1 (2021-07-18)
- function on can take all four parameters in one go (7bc4436)
1.11.0 (2021-07-16)
- implement concede (1ae7d5f)
- implement juxt (c2209c1)
- implement partial (71f3bd8)
- implement when (c3a135e)
1.10.0 (2021-07-15)
- implement all (f3d6e57)
- implement eq and ne (12693df)
- implement on (482af83)
- implement upper and lower (979fa6b)
1.9.0 (2021-07-06)
- implement cond (3d44510)
1.8.0 (2021-06-11)
- implement add (d0ba92a)
1.7.0 (2021-03-28)
- implement drop (726a14d)
1.6.0 (2021-03-07)
1.5.0 (2021-03-02)
- implement loop/recur to design stack-safe recursive functions (b001bce)
1.4.0 (2021-02-27)
1.3.0 (2021-02-27)
1.2.0 (2021-02-16)
- implement inc and dec (84d503c)
1.1.0 (2021-02-14)
- implement curry (3845355)