HigherFn4<R, T0, T1, T2, T3> toCurry4<R, T0, T1, T2, T3>( Fn4<R, T0, T1, T2, T3> fn) => (a0) => (a1) => (a2) => (a3) => fn(a0, a1, a2, a3);