import { Arity1 } from './types' ; export function pipeline < A , B > ( value , ab ) ; export function pipeline < A , B , C > ( value , ab , bc ) ; export function pipeline < A , B , C , D > ( value , ab , bc , cd ) ; export function pipeline < A , B , C , D , E > ( value , ab , bc , cd , de ) ; export function pipeline < A , B , C , D , E , F > ( value , ab , bc , cd , de , ef ) ; export function pipeline < A , B , C , D , E , F , G > ( value , ab , bc , cd , de , ef , fg ) ; export function pipeline < A , B , C , D , E , F , G , H > ( value , ab , bc , cd , de , ef , fg , gh ) ; export function pipeline < A , B , C , D , E , F , G , H , I > ( value , ab , bc , cd , de , ef , fg , gh , hi ) ; export function pipeline < A , B , C , D , E , F , G , H , I , J > ( value , ab , bc , cd , de , ef , fg , gh , hi , ij ) ; export function pipeline < A , B , C , D , E , F , G , H , I , J , K > ( value , ab , bc , cd , de , ef , fg , gh , hi , ij , jk ) ; export function pipeline < A , B > ( ... valueAndFunctions ) ; export function pipeline < A , B > ( ... valueAndFunctions ) { const [ value , ... fns ] = valueAndFunctions ; return fns . reduce ( ( x , f ) => f ( x ) , value as any ) ; }