import { List } from '../types' ; name type export type RightReducer < A , B > = ( value : A , accumulator : B , index : number ) => B ; export type ReduceRightArity3 = { < A , B > ( f , seed , list ) : B ; < A , B > ( f , seed ) : ReduceRightArity1 < A , B > ; < A , B > ( f ) : ReduceRightArity2 < A , B > ; } ; export interface ReduceRightArity2 < A , B > { ( seed , list ) : B ; ( seed ) : ReduceRightArity1 < A , B > ; } export interface ReduceRightArity1 < A , B > { ( list ) : B ; }