export const constant = <A>(a: A) => <B>(b: B) => a