import { Handler } from './index' ; param handler const compose = ( ... handler ) => handler . reduce ( ( acc , curr ) => ( $ , args ) => curr ( acc ( $ , args ) || $ , args ) || $ ) ; export default compose ;