Re: trace-calls-to-procedure

2020-12-24 Thread Zelphir Kaltstahl
Hi Tim! I do not know the answer to your question, but I noticed something else: trace-calls-to-procedure returns a procedure. That procedure and its return value can be applied infinitely, it seems: scheme@(guile-user)> (import (system vm trace)) scheme@(guile-user)> (define (sqr x) (*

trace-calls-to-procedure

2020-12-24 Thread Tim Meehan
I have used ",trace" before and get what it is supposed to do, but I am not sure what "trace-calls-to-procedure" is supposed to do ... ;; Using Guile 3.0.4 (use-modules (system vm trace)) (define (sqr x) (* x x)) (trace-calls-to-procedure sqr) (sqr 3) ;; ... and nothing happens ... is some