Module type Indexed_comonad.INFIX

Infix operators.

type ('a, 'index) t

The type held by the Indexed Comonad.

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

Infix flipped version of CORE.extend.

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

Infix version of CORE.extend.

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

Infix version of CORE.compose_left_to_right.

val (=<=) : (('b, 'index) t -> 'c) -> (('a, 'index) t -> 'b) -> ('a, 'index) t -> 'c
val (<@@>) : ('a, 'index) t -> ('a -> 'b, 'index) t -> ('b, 'index) t

Applicative functor of ('a -> 'b) t over ('a, 'index) t to ('b, 'index) t.

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

Applicative functor of ('a -> 'b) t over ('a, 'index) t to ('b, 'index) t.

val (@>) : (unit, 'index) t -> ('b, 'index) t -> ('b, 'index) t

Discard the value of the first argument.

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

Discard the value of the second argument.

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

Infix version of CORE.map.

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

Flipped and infix version of CORE.map.

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

Infix version of OPERATION.replace.

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

Flipped and infix version of OPERATION.replace.