[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] External procedures at runtime
From: |
felix winkelmann |
Subject: |
Re: [Chicken-users] External procedures at runtime |
Date: |
Wed, 1 Aug 2007 08:53:23 +0200 |
On 8/1/07, John Cowan <address@hidden> wrote:
> felix winkelmann scripsit:
>
> > You could also use "letrec" to refer to the procedure itself from inside
> > the procedure.
>
> I'm probably being thick, but I don't see how. Can you show an example
> of this?
(define foo
(letrec ((foo (extend-procedure
(lambda ()
(print I'm foo, my data is: " (procedure-data
foo)) ) ) )
foo) )
cheers,
felix
- Re: [Chicken-users] External procedures at runtime,
felix winkelmann <=