module BatFormat:Pretty printing.sig
..end
This module extends Stdlib's
Format
module, go there for documentation on the rest of the functions
and types.
Author(s): Pierre Weis (Base module), David Teller
val set_formatter_output : 'a BatIO.output -> unit
val formatter_of_output : 'a BatIO.output -> Format.formatter
formatter_of_output out
returns a new formatter that
writes to the corresponding output out
.val std_formatter : Format.formatter
formatter_of_output stdout
.val err_formatter : Format.formatter
formatter_of_output stderr
.val pp_set_formatter_output : Format.formatter -> 'a BatIO.output -> unit
val set_formatter_out_channel : 'a BatIO.output -> unit
val formatter_of_out_channel : 'a BatIO.output -> Format.formatter
formatter_of_out_channel oc
returns a new formatter that
writes to the corresponding channel oc
.val pp_set_formatter_out_channel : Format.formatter -> 'a BatIO.output -> unit