Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Functor abstracts over type constructors that can be mapped over.
A Functor
instance should satisfy:
map f << map g = map (f << g)
map id = id
assuming f << g = fun x -> g (f x)
.
module type S = sig ... end