`debug' prints the value of the function being called
This commit is contained in:
parent
e0c82c8ac6
commit
bc7bd9245e
|
@ -6,7 +6,7 @@
|
|||
(define-syntax debug
|
||||
(syntax-rules ()
|
||||
[(_ (f . args))
|
||||
(begin (printf "starting ~a~n" 'f)
|
||||
(begin (printf "starting ~a (~a)~n" 'f f)
|
||||
(let ([l (list . args)])
|
||||
(printf "arguments are:~n")
|
||||
(for/list ([arg 'args]
|
||||
|
|
Loading…
Reference in New Issue
Block a user