This limits the utility of tricks like (import (rename (ikarus) (trace-define define))) or similar if there are non-procedure defines involved.
I see two possibilities (there may be others). The first is the simply have trace-define be silent on non-procedures. The second is to have trace-define trace the evaluation of the right hand side when the right hand side is a non-procedure. The later may be a mildly interesting tracing information for tracking down errors being thrown in a long chain of non-procedure defines.
Launchpad Details: #LP316626 Michael D. Adams - 2009-01-12 22:34:09 -0500
Currently trace-define gives an error when defining a non-procedure:
This limits the utility of tricks like (import (rename (ikarus) (trace-define define))) or similar if there are non-procedure defines involved.
I see two possibilities (there may be others). The first is the simply have trace-define be silent on non-procedures. The second is to have trace-define trace the evaluation of the right hand side when the right hand side is a non-procedure. The later may be a mildly interesting tracing information for tracking down errors being thrown in a long chain of non-procedure defines.
Launchpad Details: #LP316626 Michael D. Adams - 2009-01-12 22:34:09 -0500