package tezos-protocol-013-PtJakart

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = private string

A string that is guaranteed to be non-empty

include Tezos_protocol_environment_013_PtJakart.Compare.S with type t := t
val (=) : t -> t -> bool
val (<>) : t -> t -> bool
val (<) : t -> t -> bool
val (<=) : t -> t -> bool
val (>=) : t -> t -> bool
val (>) : t -> t -> bool
val compare : t -> t -> int
val equal : t -> t -> bool
val max : t -> t -> t
val min : t -> t -> t
val of_string : string -> t option

Returns None if the original string is empty.

val of_string_exn : string -> t

Fails with Invalid_argument if the original string is empty.

val cat2 : t -> ?sep:string -> t -> t

cat2 a b concatenates a and b. cat2 a ~sep b concatenates a, sep, and b.

OCaml

Innovation. Community. Security.