Tags: customcommander/functionaut
Tags
chore(release): 4.0.0 [skip ci] # [4.0.0](v3.3.0...v4.0.0) (2022-01-28) ### chore * refactor `fallback` as an operator function. close [#38](#38) ([38c1bb0](38c1bb0)) * remove `concede`. close [#35](#35) ([30c75aa](30c75aa)) * remove support of strings as lists. close [#36](#36) ([1ae4b26](1ae4b26)) ### BREAKING CHANGES * the following functions no longer accept strings as lists: `all`, `any`, `drop`, `filter`, `into`, `map`, `none` and `take`. * `fallback` is now an operator function. * the `concede` function is no longer available
chore(release): 3.2.0 [skip ci] # [3.2.0](v3.1.0...v3.2.0) (2022-01-09) ### Bug Fixes * fix bug in return condition for `and` ([178bdfc](178bdfc)) ### Features * implement `div` as an operator function ([67a4003](67a4003)) * implement `exp` as an operator function ([bd930aa](bd930aa)) * implement `mod` as an operator function ([b3eed71](b3eed71))
chore(release): 3.1.0 [skip ci] # [3.1.0](v3.0.0...v3.1.0) (2022-01-03) ### Features * implement 'and' as an operator function ([872b809](872b809)) * implement 'gte' as an operator function ([0a2f3d7](0a2f3d7)) * implement 'or' as an operator function ([fa09cbd](fa09cbd)) * implement `gt` as an operator function ([44616ff](44616ff)) * implement `lt` as an operator function ([c3a6dd2](c3a6dd2)) * implement `lte` as an operator function ([06db5ff](06db5ff)) * implement `subtract` as an operator function ([608b408](608b408))
chore(release): 3.0.0 [skip ci] # [3.0.0](v2.2.0...v3.0.0) (2022-01-01) ### chore * use same namespace in browser. close [#30](#30) ([9ee9363](9ee9363)) ### Features * all: predicate must return logical true ([9629716](9629716)) * allfn: predicates can return logical true ([25f351d](25f351d)) * any: predicate can return logical true ([e51a716](e51a716)) * anyfn: functions can return logical true ([cbd906f](cbd906f)) * cond: predicates can return logical true ([c0769cc](c0769cc)) * filter: predicate can return logical true ([aff27d3](aff27d3)) * implement T & F. see [#29](#29) ([d3bd940](d3bd940)) * none: predicate can return logical true ([f7f0215](f7f0215)) * nonefn: predicates can return logical true ([ff97496](ff97496)) * some: functions can return logical true ([bea45ab](bea45ab)) * unfold: predicate can return logical true ([7ec376f](7ec376f)) * when: allow one or more `x` to be given to `f` and `g` ([a571489](a571489)) ### BREAKING CHANGES * 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
chore(release): 2.0.0 [skip ci] # [2.0.0](v1.13.0...v2.0.0) (2021-10-12) ### Bug Fixes * the function returned by unary does not need to be curried ([cf51ece](cf51ece)) ### chore * remove type checking. close [#17](#17) ([a03793f](a03793f)) ### Features * all checks the element of a list against a predicate. close [#24](#24) ([8f9bc01](8f9bc01)) ### BREAKING CHANGES * 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).
PreviousNext