package caqti

  1. Overview
  2. Docs

Row multiplicity.

type +'m t constraint 'm = [< `Zero | `One | `Many ]
type zero = [
  1. | `Zero
]
type one = [
  1. | `One
]
type zero_or_one = [
  1. | `Zero
  2. | `One
]
type zero_or_more = [
  1. | `Zero
  2. | `One
  3. | `Many
]
val zero : [> `Zero ] t
val one : [> `One ] t
val zero_or_one : [> `Zero | `One ] t
val zero_or_more : [> `Zero | `One | `Many ] t
val only_zero : [< `Zero ] t -> unit
val only_one : [< `One ] t -> unit
val only_zero_or_one : [< `Zero | `One ] t -> unit
val expose : 'm t -> [ `Zero | `One | `Zero_or_one | `Zero_or_more ]
OCaml

Innovation. Community. Security.