mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-19 05:39:18 +02:00
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:
parent
2dcf2f0584
commit
922b73b024
1 changed files with 2 additions and 2 deletions
|
@ -34,7 +34,7 @@
|
||||||
(show-trace-result cell args res)
|
(show-trace-result cell args res)
|
||||||
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)}.
|
;;> \scheme{(current-error-port)}.
|
||||||
|
|
||||||
(define-syntax trace
|
(define-syntax trace
|
||||||
|
@ -42,7 +42,7 @@
|
||||||
((trace id)
|
((trace id)
|
||||||
(trace-cell (env-cell (interaction-environment) '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
|
(define-syntax untrace
|
||||||
(syntax-rules ()
|
(syntax-rules ()
|
||||||
|
|
Loading…
Add table
Reference in a new issue