mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-18 01:30:27 +02:00
* eval.c (SCM_APPLY), sort.c (closureless): Expand body when
evaluating closures.
This commit is contained in:
parent
7f214e6066
commit
2ddb09208b
2 changed files with 19 additions and 3 deletions
|
@ -354,6 +354,8 @@ closureless (SCM code, const void *a, const void *b)
|
|||
SCM_ENV (code));
|
||||
/* Evaluate the closure body */
|
||||
code = SCM_CDR (SCM_CODE (code));
|
||||
while (SCM_IMP (SCM_CAR (code)) && SCM_ISYMP (SCM_CAR (code)))
|
||||
code = scm_m_expand_body (code, env);
|
||||
next = code;
|
||||
while (SCM_NNULLP (next = SCM_CDR (next)))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue