module Debug: Debug
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
prerr_endline
, meaning it prints to stderr, followed by a newlinemodule Make:
Debug.Make
produces a debug
function used to wrap a function to display arguments
before calling and display results after returning.