Module Msg


module Msg: sig .. end
Messages to the user.

val msg : Cfg.verbosity -> string -> unit
msg verbosity message outputs the given string as message to stderr, trailed by a newline and flush, if the current verbosity setting is >= verbosity.
val msg1 : Cfg.verbosity ->
('a -> 'b, Pervasives.out_channel, unit) Pervasives.format -> 'a -> unit
Variant of msg that takes a format string with a single argument.

Note: There seems no way in pure OCaml to use the curried formatting on arbitrary arguments such that:


val msg2 : Cfg.verbosity ->
('a -> 'b -> 'c, Pervasives.out_channel, unit) Pervasives.format ->
'a -> 'b -> unit
Variant of msg that takes a format string with two arguments.
val msg3 : Cfg.verbosity ->
('a -> 'b -> 'c -> 'd, Pervasives.out_channel, unit) Pervasives.format ->
'a -> 'b -> 'c -> unit
Variant of msg that takes a format string with three arguments.
val msg4 : Cfg.verbosity ->
('a -> 'b -> 'c -> 'd -> 'e, Pervasives.out_channel, unit) Pervasives.format ->
'a -> 'b -> 'c -> 'd -> unit
Variant of msg that takes a format string with four arguments.
val msg5 : Cfg.verbosity ->
('a -> 'b -> 'c -> 'd -> 'e -> 'f, Pervasives.out_channel, unit)
Pervasives.format -> 'a -> 'b -> 'c -> 'd -> 'e -> unit
Variant of msg that takes a format string with five arguments.
val msg8 : Cfg.verbosity ->
('a -> 'b -> 'c -> 'd -> 'e -> 'f -> 'g -> 'h -> 'i, Pervasives.out_channel,
unit)
Pervasives.format -> 'a -> 'b -> 'c -> 'd -> 'e -> 'f -> 'g -> 'h -> unit
Variant of msg that takes a format string with eight arguments.