package safemoney

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
exception ValidScaleError of string
type t = {
  1. symbol : string;
  2. unit : string;
  3. value : Qv.t;
}
val compare : t -> t -> int
type showable = {
  1. symbol_ : string;
  2. unit_ : string;
  3. value_ : string;
}
val showable_to_yojson : showable -> Yojson.Safe.t
val show_showable : showable -> Ppx_deriving_runtime.string
val sexp_of_showable : showable -> Sexplib0.Sexp.t
val showable_of_sexp : Sexplib0.Sexp.t -> showable
val make_scale : string -> string -> Qv.t -> t
val check_scale : Qv.t -> bool
val to_showable_json : t -> string
OCaml

Innovation. Community. Security.