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 : Q.t;
}
val compare : t Base__Ppx_compare_lib.compare
type showable = {
  1. symbol_ : string;
  2. unit_ : string;
  3. value_ : string;
}
val pp_showable : Ppx_deriving_runtime.Format.formatter -> showable -> Ppx_deriving_runtime.unit
val show_showable : showable -> Ppx_deriving_runtime.string
val showable_to_yojson : showable -> Yojson.Safe.t
val showable_of_yojson : Yojson.Safe.t -> showable Ppx_deriving_yojson_runtime.error_or
val make_scale : string -> string -> Q.t -> t
val check_scale : Q.t -> bool
val to_json : t -> string
OCaml

Innovation. Community. Security.