Module type Indexed_functor.WITH_MAP

The minimum definition of an Indexed Functor. It is by using the combinators of this module that the other combinators will be derived.

type ('a, 'index) t

The type held by the Indexed Functor.

val map : ('a -> 'b) -> ('a, 'index) t -> ('b, 'index) t

Mapping over t from 'a to 'b.