package liquid_std

  1. Overview
  2. Docs
val fi : Base.Float.t -> int
val identity : 'a -> 'b Base.List.t -> 'c
val errc : string -> Liquid_syntax.Syntax.value Base.List.t -> ('a, string) Base.result
val ok : 'a -> ('b, 'c) Base.result
type whitespace_remover =
  1. | Beginning
  2. | End
  3. | Both
val remove_whitespace : whitespace_remover -> string -> string
type weight_units =
  1. | Grams
  2. | Kilograms
  3. | Pounds
  4. | Ounces
val weight_unit_as_string : weight_units -> string
val parse_weight_unit : string -> weight_units
val format_thousands_int : Base.Int.t -> Base.String.t
val format_thousands_float : Base.Float.t -> Base.String.t
val format_money_number : Base.Float.t -> Base.String.t
val format_money_symbol_no_zeros : Liquid_syntax.Settings.currency_info -> Base.Float.t -> Base.String.t
OCaml

Innovation. Community. Security.