[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: compiled closures status
From: |
Ludovic Courtès |
Subject: |
Re: compiled closures status |
Date: |
Tue, 27 Nov 2007 10:12:55 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) |
Hi Marco,
"Marco Maggi" <address@hidden> writes:
> I have written a simple extension to test the
> compiled closures feature, and it seems to work.
> I wonder if it can be documented (and in this case
> I can contribute a Texinfo node) or there are plans
> to change the API.
You're referring to `scm_makcclo ()' and the likes?
The difference with `scm_closure ()', AIUI, is that a cclo's environment
is a simple C array instead of an alist. However, I'm under the
impression that code in `eval.c' doesn't know how to deal with a cclo's
environment (e.g., there is no occurrence of `SCM_CCLO_BASE ()'). So,
what makes you think it works? :-)
Thanks,
Ludovic.