{"code":"/**\r\n * Compose together an array of functions into a higher-order function.\r\n */\r\nconst compose = (...fns) => res => fns.reduce((acc, next) => next(acc), res);\r\nexport default compose;\r\n//# sourceMappingURL=index.js.map","map":"{\"version\":3,\"file\":\"index.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../../src/functions/compose/index.ts\"],\"names\":[],\"mappings\":\"AAAA;;GAEG;AACH,MAAM,OAAO,GAAG,CAAC,GAAG,GAAe,EAAE,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,GAAG,CAAC,CAAC;AACzF,eAAe,OAAO,CAAC\"}","dts":{"name":"/Users/thibault/Development/pure-fun/functions/compose/index.d.ts","writeByteOrderMark":false,"text":"/**\r\n * Compose together an array of functions into a higher-order function.\r\n */\r\ndeclare const compose: (...fns: Function[]) => (res: any) => any;\r\nexport default compose;\r\n"}}
