module Show:Interface for creating show functions in a standardised way.sig..end
type 'a show
val to_formatter : 'a show -> Format.formatter -> 'a -> unitval to_formatter' : 'a show -> Format.formatter -> 'a -> unitval to_string : 'a show -> 'a -> stringval append_to : 'a show -> 'a -> Buffer.t -> unitval print : 'a show -> 'a -> unitval print_line : 'a show -> 'a -> unitval shower_from_formatter : ?size_hint:int -> (Format.formatter -> 'a -> unit) -> 'a showval shower_from_to_string : ?size_hint:int -> ('a -> string) -> 'a showval any_shower : 'a showval func_shower : ('a -> 'b) showval int_shower : int showval float_shower : float showval bool_shower : bool showval char_shower : char showval char_shower' : char showval string_shower : string showval string_shower' : string showval unit_shower : unit showval option_shower : 'a show -> 'a option showval list_shower : 'a show -> 'a list showval assoc_list_shower : 'a show -> 'b show -> ('a * 'b) list showval listlike_shower : string -> string -> string -> 'a show -> 'a list showval assoc_shower : 'a show -> 'b show -> ('a * 'b) showval tuple_shower2 : 'a show -> 'b show -> ('a * 'b) showval tuple_shower3 : 'a show -> 'b show -> 'c show -> ('a * 'b * 'c) showval tuple_shower4 : 'a show ->
'b show -> 'c show -> 'd show -> ('a * 'b * 'c * 'd) showval tuple_shower5 : 'a show ->
'b show ->
'c show ->
'd show -> 'e show -> ('a * 'b * 'c * 'd * 'e) showval tuple_shower6 : 'a show ->
'b show ->
'c show ->
'd show ->
'e show -> 'f show -> ('a * 'b * 'c * 'd * 'e * 'f) showval field_shower : string -> ('a -> 'b) -> 'b show -> 'a showfield_shower name f s
Create a shower for field called name, which is extracted from a record of
type 'a, and displayed with shower s.
val record_shower : 'a show list -> 'a show