package ocolor

  1. Overview
  2. Docs
type !'a pp = Stdlib.out_channel -> 'a -> unit
val pp_bool_generic : ?false_style:Ocolor_types.style list -> ?true_style:Ocolor_types.style list -> bool pp
val pp_bool : bool pp
val pp_option_more_generic : ?none:string -> ?none_style:Ocolor_types.style list -> ?some_style:Ocolor_types.style list -> ?some_format: (Ocolor_types.style list pp -> Ocolor_types.style list -> 'a pp -> 'a -> unit pp -> unit -> unit, Stdlib.out_channel, unit, unit, unit, unit) Stdlib.format6 -> ?none_format: (Ocolor_types.style list pp -> Ocolor_types.style list -> string -> unit pp -> unit -> unit, Stdlib.out_channel, unit, unit, unit, unit) Stdlib.format6 -> 'a pp -> 'a option pp
val pp_option_generic : ?none:string -> ?none_style:Ocolor_types.style list -> ?some_style:Ocolor_types.style list -> 'a pp -> 'a option pp
val pp_option : 'a pp -> 'a option pp
val pp_result_more_generic : ?ok_style:Ocolor_types.style list -> ?error_style:Ocolor_types.style list -> ?ok_format: (Ocolor_types.style list pp -> Ocolor_types.style list -> 'a pp -> 'a -> unit pp -> unit -> unit, Stdlib.out_channel, unit, unit, unit, unit) Stdlib.format6 -> ?error_format: (Ocolor_types.style list pp -> Ocolor_types.style list -> 'b pp -> 'b -> unit pp -> unit -> unit, Stdlib.out_channel, unit, unit, unit, unit) Stdlib.format6 -> 'a pp -> 'b pp -> ('a, 'b) Stdlib.result pp
val pp_result_generic : ?ok_style:Ocolor_types.style list -> ?error_style:Ocolor_types.style list -> 'a pp -> 'b pp -> ('a, 'b) Stdlib.result pp
val pp_result : 'a pp -> 'b pp -> ('a, 'b) Stdlib.result pp
val pp_pair_generic : ?left:string -> ?sep:string -> ?right:string -> ?delim_style:Ocolor_types.style list -> ?sep_style:Ocolor_types.style list -> ?elem_style:Ocolor_types.style list -> 'a pp -> 'b pp -> ('a * 'b) pp
val pp_pair : 'a pp -> 'b pp -> ('a * 'b) pp
val pp_3_tuple_generic : ?left:string -> ?sep:string -> ?right:string -> ?delim_style:Ocolor_types.style list -> ?sep_style:Ocolor_types.style list -> ?elem_style:Ocolor_types.style list -> 'a pp -> 'b pp -> 'c pp -> ('a * 'b * 'c) pp
val pp_3_tuple : 'a pp -> 'b pp -> 'c pp -> ('a * 'b * 'c) pp
val pp_4_tuple_generic : ?left:string -> ?sep:string -> ?right:string -> ?delim_style:Ocolor_types.style list -> ?sep_style:Ocolor_types.style list -> ?elem_style:Ocolor_types.style list -> 'a pp -> 'b pp -> 'c pp -> 'd pp -> ('a * 'b * 'c * 'd) pp
val pp_4_tuple : 'a pp -> 'b pp -> 'c pp -> 'd pp -> ('a * 'b * 'c * 'd) pp
val pp_5_tuple_generic : ?left:string -> ?sep:string -> ?right:string -> ?delim_style:Ocolor_types.style list -> ?sep_style:Ocolor_types.style list -> ?elem_style:Ocolor_types.style list -> 'a pp -> 'b pp -> 'c pp -> 'd pp -> 'e pp -> ('a * 'b * 'c * 'd * 'e) pp
val pp_5_tuple : 'a pp -> 'b pp -> 'c pp -> 'd pp -> 'e pp -> ('a * 'b * 'c * 'd * 'e) pp
val pp_iterable_generic : ?left:string -> ?sep:string -> ?right:string -> ?delim_style:Ocolor_types.style list -> ?sep_style:Ocolor_types.style list -> ?elem_style:Ocolor_types.style list -> (('a -> unit) -> 'b -> unit) -> 'a pp -> 'b pp
val pp_iterable : (('a -> unit) -> 'b -> unit) -> 'a pp -> 'b pp
val pp_list_generic : ?left:string -> ?sep:string -> ?right:string -> ?delim_style:Ocolor_types.style list -> ?sep_style:Ocolor_types.style list -> ?elem_style:Ocolor_types.style list -> 'a pp -> 'a list pp
val pp_list : 'a pp -> 'a list pp
val pp_array_generic : ?left:string -> ?sep:string -> ?right:string -> ?delim_style:Ocolor_types.style list -> ?sep_style:Ocolor_types.style list -> ?elem_style:Ocolor_types.style list -> 'a pp -> 'a array pp
val pp_array : 'a pp -> 'a array pp
val pp_iterable_mapping_more_generic : ?left:string -> ?sep:string -> ?right:string -> ?delim_style:Ocolor_types.style list -> ?sep_style:Ocolor_types.style list -> (('a -> 'b -> unit) -> 'c -> unit) -> ('a * 'b) pp -> 'c pp
val pp_iterable_mapping_generic : ?left:string -> ?sep:string -> ?right:string -> ?mapsto:string -> ?delim_style:Ocolor_types.style list -> ?sep_style:Ocolor_types.style list -> ?mapsto_style:Ocolor_types.style list -> ?key_style:Ocolor_types.style list -> ?value_style:Ocolor_types.style list -> (('a -> 'b -> unit) -> 'c -> unit) -> 'a pp -> 'b pp -> 'c pp
val pp_iterable_mapping : (('a -> 'b -> unit) -> 'c -> unit) -> 'a pp -> 'b pp -> 'c pp