export const eq = (a: T) => (b: T): boolean => a === b