package preface

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type 'a t = 'a Operation.t

The type held by the Divisible.

val (>*<) : 'a t -> 'b t -> ('a * 'b) t

Infix version of divided.

val (^*^) : 'a t -> 'b t -> ('a * 'b) t

Right-associative version of >*<.

val (>*) : 'a t -> unit t -> 'a t

Discard the value of the second argument.

val (^*) : 'a t -> unit t -> 'a t

Right-associative version of >*.

val (*<) : unit t -> 'a t -> 'a t

Discard the value of the first argument.

val (&*) : unit t -> 'a t -> 'a t

Right-associative version of *<.

include Preface_specs.Contravariant.INFIX with type 'a t := 'a t
val (>$) : 'b -> 'b t -> 'a t

Infix version of OPERATION.replace.

val (^$) : 'b -> 'b t -> 'a t

Right-associative version of >$.

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

Infix flipped version of OPERATION.replace.

val (&$) : 'b t -> 'b -> 'a t

Right-associative version of $<.

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

Infix version of CORE.map.

val (^$^) : ('a -> 'b) -> 'b t -> 'a t

Right-associative version of >$<.

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

Infix flipped version of CORE.map.

val (^&^) : 'b t -> ('a -> 'b) -> 'a t

Right-associative version of >&<.

OCaml

Innovation. Community. Security.