module Debug: sig
.. end
Utilities for printing debug messages.
val eprints : string -> 'a -> ('a -> Sexplib.Sexp.t) -> unit
log message a sexp_of_a
prints to stderr message
and a
as a sexp, followed by
a newline.
val eprint : string -> unit
synonym for prerr_endline
, meaning it prints to stderr, followed by a newline
module Make: functor (
M
:
sig
end
) ->
sig
.. end
Debug.Make
produces a debug
function used to wrap a function to display arguments
before calling and display results after returning.