package pgx

  1. Overview
  2. Docs

Helper functions since we don't want a dependency on Core or Batteries.

module String : sig ... end
module List : sig ... end
val compare_bool : bool -> bool -> int

Necessary for ppx_compare

val compare_float : float -> float -> int
val compare_int : int -> int -> int
val compare_int32 : int32 -> int32 -> int
val compare_list : ('a -> 'a -> int) -> 'a list -> 'a list -> int
val compare_option : ('a -> 'a -> int) -> 'a option -> 'a option -> int
val compare_string : string -> string -> int
OCaml

Innovation. Community. Security.