package links

  1. Overview
  2. Docs

This module contains operators and short hand constructors for producing phrase expressions.

Example:

let phrase =
  let open Lens_phrase.O in
  v "A" < i 20 && v "B" > i 45 in
...

This module contains operators and short hand constructors for producing phrase expressions.

Example:

let phrase =
  let open Lens_phrase.O in
  v "A" < i 20 && v "B" > i 45 in
...
val (>) : Phrase.t -> Phrase.t -> Phrase.t

Greater than comparison.

val (<) : Phrase.t -> Phrase.t -> Phrase.t

Less than comparison.

val (=) : Phrase.t -> Phrase.t -> Phrase.t

Equality comparison.

val (&&) : Phrase.t -> Phrase.t -> Phrase.t

Logical and operator.

val (||) : Phrase.t -> Phrase.t -> Phrase.t

Logical or operator.

val v : string -> Phrase.t

Variable reference.

val i : int -> Phrase.t

Integer constant phrase.

val b : bool -> Phrase.t

Boolean constant phrase.

OCaml

Innovation. Community. Security.