Support.Show
module type SHOW = sig ... end
Module type for types with functions for pretty-printing and converting values to readable strings.
Functor building an implementation of SHOW
given a type with a pretty-printer.
val make : (Format.formatter -> 't -> unit) -> (module SHOW with type t = 't)
make pp
is equivalent to the functor Make (T)
with T.pp = pp
.