HigherFn3<R, T0, T1, T2> toCurry3<R, T0, T1, T2>(Fn3<R, T0, T1, T2> fn) => (a0) => (a1) => (a2) => fn(a0, a1, a2);