Previous: , Up: iklib printing   [Index]


6.39.3 Printing for debugging

Function: debug-print . args

Print the given arguments on the current error port using pretty-print. This is a convenience function, useful while debugging code. Return #f.

Parameter: debug-print-enabled?

When set to true, debug-print* will print its arguments. It is initialised to #f. We can set this parameter to any value, internally the value is normalised to #t or #f.

Function: debug-print* . args

Like debug-print, but print arguments only when the parameter debug-print-enabled? is set to true. Return #f.