Indexed_apply.WITH_MAP_AND_PRODUCT
Minimal interface using map and product.
map
product
type ('a, 'index) t
The type held by the Indexed Apply.
Indexed Apply
include Indexed_functor.WITH_MAP with type ('a, 'index) t := ('a, 'index) t
val map : ('a -> 'b) -> ('a, 'index) t -> ('b, 'index) t
Mapping over t from 'a to 'b.
t
'a
'b
include WITH_PRODUCT with type ('a, 'index) t := ('a, 'index) t
val product : ('a, 'index) t -> ('b, 'index) t -> ('a * 'b, 'index) t
Monoidal product between two t.