rivo
Version:
🤖 The ultimate library you need for composable type-level programming in TypeScript, powered by HKT.
17 lines (14 loc) • 409 B
TypeScript
import type { List } from ".";
import type MapFn from "./Map";
import type { Functor, TypeClass$$Functor } from "../typeclass";
declare module "../typeclass/Functor" {
interface FunctorImpl {
List: ImplFunctorFor<List, List$$Functor>;
}
}
/**
* Implementation of the {@link Functor} type class for {@link List}.
*/
export interface List$$Functor extends TypeClass$$Functor<List> {
Map: MapFn;
}