[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to advise a procedure defined in the "runtime" directory
From: |
Sam Lee |
Subject: |
Re: How to advise a procedure defined in the "runtime" directory |
Date: |
Sat, 14 May 2022 01:26:16 +0000 |
On 2022-05-13 18:03 -0700, Chris Hanson wrote:
> It's not possible to advise compiled procedures. With some care, it's
> possible to replace a particular procedure with an interpreted one.
> That involves evaluating the source code of the procedure in the
> correct environment.
That's good to know. Thank you for the information. Do you have a simple
example of replacing a procedure?
The procedure I want to replace is "define-header" in
src/runtime/http-syntax.scm. It does not seem to be accessible from the
REPL.