avocado-old/packages/core/index.js

26 lines
938 B
JavaScript
Raw Normal View History

2019-03-17 23:45:48 -05:00
/**
* Composes single-argument functions from right to left. The rightmost
* function can take multiple arguments as it provides the signature for
* the resulting composite function.
*
* @param {...Function} funcs The functions to compose.
* @returns {Function} A function obtained by composing the argument functions
* from right to left. For example, compose(f, g, h) is identical to doing
* (...args) => f(g(h(...args))).
*/
2019-10-03 16:39:27 -05:00
export {arrayUnique, flatten} from './array';
2019-04-28 23:45:03 -05:00
export {EventEmitterMixin as EventEmitter} from './event-emitter';
2019-05-17 04:31:37 -05:00
export {merge} from './merge';
export {
mergeDiff,
mergeDiffArray,
mergeDiffObject,
mergeDiffPrimitive,
} from './merge-diff';
2019-10-02 18:06:31 -05:00
export {inflate, deflate} from './flate';
2019-10-03 16:39:27 -05:00
export {compose, fastApply} from './function';
2019-04-28 23:45:03 -05:00
export {PropertyMixin as Property} from './property';
2019-10-03 16:39:27 -05:00
export {TickingPromise} from './ticking-promise';
export {virtualize, virtualizeStatic} from './virtualize';