Module Debug
This module is undocumented. This is a list of its definitions.
nanoTime :: () -> <Proc> Long
The current value of the high-resolution time source in nanoseconds. Only differences of two values are meaningful.
reportTime :: <b> a -> <b> a
Executes the expression, logs its execution time at INFO level and returns its result.
reportTimeM :: String -> <b> a -> <b> a
Like reportTime, but prefixes the logged execution time with the given task name.
time :: <b> a -> <Proc,b> (a, Double)
Executes the expression and returns the result
together with execution time in seconds.
trace :: String -> a -> a
Prints the given text and returns
the second parameter.
traceShow :: Show a => a -> b -> b
Prints the given value and returns
the second parameter.
|