export interface Functor { map(fn: (a: A) => B): Functor; } export default Functor;