export const curry = (f: (a: A, b: B) => C) => (a: A) => (b: B): C => f(a, b);