Sync documented \var and actual parameter name

The procedure parameter name could equally well be changed from `id` to
`proc`. Not sure which approach is more suitable - here, I chose to
stick to the original procedure signature.
This commit is contained in:
Lukas Böger 2020-08-30 11:23:17 +01:00
parent 2dcf2f0584
commit 922b73b024

View file

@ -34,7 +34,7 @@
(show-trace-result cell args res)
res))))
;;> Write a trace of all calls to the procedure \var{proc} to
;;> Write a trace of all calls to the procedure \var{id} to
;;> \scheme{(current-error-port)}.
(define-syntax trace
@ -42,7 +42,7 @@
((trace id)
(trace-cell (env-cell (interaction-environment) 'id)))))
;;> Remove any active traces on the procedure \var{proc}.
;;> Remove any active traces on the procedure \var{id}.
(define-syntax untrace
(syntax-rules ()