mirror of
https://github.com/c-cube/sidekick.git
synced 2025-12-07 11:45:41 -05:00
19 lines
531 B
OCaml
19 lines
531 B
OCaml
|
|
(* This file is free software. See file "license" for more details. *)
|
|
|
|
(** {1 Utils} *)
|
|
|
|
type 'a printer = 'a CCFormat.printer
|
|
|
|
val pp_list : ?sep:string -> 'a printer -> 'a list printer
|
|
|
|
val pp_array : ?sep:string -> 'a printer -> 'a array printer
|
|
|
|
val pp_pair : ?sep:string -> 'a printer -> 'b printer -> ('a * 'b) printer
|
|
|
|
val pp_iarray : ?sep:string -> 'a CCFormat.printer -> 'a IArray.t CCFormat.printer
|
|
|
|
exception Error of string
|
|
|
|
val errorf : ('a, Format.formatter, unit, 'b) format4 -> 'a
|
|
(** @raise Error when called *)
|