package piqilib

  1. Overview
  2. Docs
module C = Piqi_common
val split_text : string -> string list
val make_text_line : string -> C.Iolist.iolist
val print_text : string list -> C.Iolist.iolist
val is_multiline : C.Iolist.iolist -> bool
val uint64_to_string : Stdlib.Int64.t -> string
val float_needs_period : string -> bool
val write_float : Stdlib.Buffer.t -> float -> unit
val string_of_float : float -> string
val format_float : float -> string
module Fmt = Easy_format
val common_list : Fmt.list_param
val atom_list : Fmt.list_param
val single_elem_list : Fmt.list_param
val multiple_elem_list : Fmt.list_param
val form_list : Fmt.list_param
val multi_form_list : Fmt.list_param
val single_form_list : Fmt.list_param
val atom_form_list : Fmt.list_param
val make_atom : string -> Fmt.t
val is_atom : Fmt.t -> bool
val has_list : Fmt.t -> bool
val make_list : Fmt.t list -> Fmt.t
val make_form_fmt : Fmt.t list -> Fmt.list_param
val make_form : string -> Fmt.t list -> Fmt.t
val make_parens : Fmt.t -> Fmt.t
val make_label : Fmt.t -> Fmt.t -> Fmt.t
val quote : string -> string
val format_text_line : ?indent:bool -> string -> string
val format_text : string list -> is_labeled:bool -> is_first:bool -> Fmt.t
val preprocess_names : [> `form of [> `name of 'b ] * 'c list | `name of 'b | `named of 'd | `typed of 'e | `typename of 'f ] as 'a list -> 'a list
val format_ast : C.piq_ast -> Fmt.t
val to_buffer : ?nl:bool -> Stdlib.Buffer.t -> C.piq_ast -> unit
val to_string : ?nl:bool -> C.piq_ast -> string
val to_channel : Stdlib.out_channel -> C.piq_ast -> unit
OCaml

Innovation. Community. Security.