This is the mail archive of the
guile@cygnus.com
mailing list for the Guile project.
Re: (lambda (foo) (some-c-function)) - can that C function get foo ?
- To: guile@cygnus.com
- Subject: Re: (lambda (foo) (some-c-function)) - can that C function get foo ?
- From: Chris Bitmead <cbitmead@ozemail.com.au>
- Date: Fri, 02 Jul 1999 14:37:54 +1000
- References: <867lolla2e.fsf@localhost.uni-trier.de> <m390911nei.fsf@209-122-232-183.s437.tnt4.sbo.ma.dialup.rcn.com> <86pv2cdf0g.fsf@localhost.uni-trier.de> <19990702131350.12449@localhost>
Telford Tendys wrote:
> This is one of those really cool scheme features that
> doesn't translate well into traditional languages because
> it depends on the compile-as-you-go feature of the
> interpreter. The (lambda) is a bit like a mini-compiler
> that gives you back a chunk of code, thus a scheme program
> with lambda expressions is effectively a self-modifying
> program.
I've come in late to this thread, but this caught my eye. I don't see
that lambda is self-modifying or "like a mini-compiler". Lambda is a
static declaration. Everything about it is staticly determined just like
other languages. Or am I missing something in this thread?