Module type Indexed_alternative.SYNTAX

Syntax extensions.

type ('a, 'index) t

The type held by the Indexed Alternative.

include Indexed_apply.SYNTAX with type ('a, 'index) t := ('a, 'index) t
val let+ : ('a, 'index) t -> ('a -> 'b) -> ('b, 'index) t

let operator for mapping.

val and+ : ('a, 'index) t -> ('b, 'index) t -> ('a * 'b, 'index) t

and operator for the monoidal product.