Module Indexed_functor.Operation

Parameters

Signature

type ('a, 'index) t = ('a, 'index) Core.t

The type held by the Indexed Functor.

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

Create a new t, replacing all values of the given functor by given a value of 'a.

val void : ('a, 'index) t -> (unit, 'index) t

Create a new t, replacing all values in the given functor by unit.