avocado-old/packages/core/index.js
2019-10-03 16:39:27 -05:00

26 lines
938 B
JavaScript

/**
* 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))).
*/
export {arrayUnique, flatten} from './array';
export {EventEmitterMixin as EventEmitter} from './event-emitter';
export {merge} from './merge';
export {
mergeDiff,
mergeDiffArray,
mergeDiffObject,
mergeDiffPrimitive,
} from './merge-diff';
export {inflate, deflate} from './flate';
export {compose, fastApply} from './function';
export {PropertyMixin as Property} from './property';
export {TickingPromise} from './ticking-promise';
export {virtualize, virtualizeStatic} from './virtualize';