Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Runtime functions for Pretty Printing functionality
type formatter = Format.formatter
val pp_unit : formatter -> unit -> unit
pp_unit fmt ()
formats unit
value
val pp_int : formatter -> int -> unit
pp_unit fmt i
formats i
value
val pp_float : formatter -> float -> unit
pp_unit fmt f
formats f
value
val pp_bool : formatter -> bool -> unit
pp_unit fmt b
formats b
value
val pp_int32 : formatter -> int32 -> unit
pp_unit fmt i
formats i
value
val pp_int64 : formatter -> int64 -> unit
pp_unit fmt i
formats i
value
val pp_string : formatter -> string -> unit
pp_unit fmt s
formats s
value
val pp_bytes : formatter -> bytes -> unit
pp_unit fmt b
formats b
value
pp_option f fmt o
formats an option value o
using f
formatter when o
is a Some x
value
val pp_wrapper_float : formatter -> float option -> unit
val pp_wrapper_bool : formatter -> bool option -> unit
val pp_wrapper_int32 : formatter -> int32 option -> unit
val pp_wrapper_int64 : formatter -> int64 option -> unit
val pp_wrapper_string : formatter -> string option -> unit
val pp_wrapper_bytes : formatter -> bytes option -> unit
pp_list f fmt l
formats a list value l
using f
formatter on each of the elements.
pp_record_field label_name fmt field_value
formats a record field_value
with label_name