package conan

  1. Overview
  2. Docs
type 'a t = private
  1. | True : 'a t
  2. | False : 'a t
  3. | Numeric : 'a Integer.t * 'a Comparison.t -> 'a t
  4. | Float : float Comparison.t -> float t
  5. | Unicode_string : [ `BE | `LE ] * string Comparison.t -> string t
  6. | String : string Comparison.t -> string t
  7. | Length : int Comparison.t -> string t
  8. | Regex : Re.t Comparison.t -> Re.t t
  9. | Date : Ptime.Span.t Comparison.t -> Ptime.t t
val serialize : Stdlib.Format.formatter -> 'a t -> unit
val pp : Stdlib.Format.formatter -> 'a t -> unit
val always_true : _ t
val always_false : _ t
val numeric : 'w Integer.t -> 'w Comparison.t -> 'w t
val float : float Comparison.t -> float t
val str_unicode : [ `BE | `LE ] -> string Comparison.t -> string t
val string : string Comparison.t -> string t
val length : int Comparison.t -> string t
val regex : Re.t Comparison.t -> Re.t t
val process : ('test, 'v) Ty.t -> 'test t -> 'v -> 'v option