guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Eval, tail calls, (current-module), and backward compatibility


From: Ludovic Courtès
Subject: Re: Eval, tail calls, (current-module), and backward compatibility
Date: Wed, 18 Jan 2012 23:21:49 +0100
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.90 (gnu/linux)

Hello!

Andy Wingo <address@hidden> skribis:

> On Wed 18 Jan 2012 22:18, address@hidden (Ludovic Courtès) writes:
>
>>         (('apply (f args))
>>          (apply (eval f env) (eval args env)))
>
> This is in primitive-eval (and here, `eval' is locally bound).  Mark is
> talking about R5RS `eval' (`scm_eval').

OK, but ‘scm_eval’ is not recursive, so no wonder it’s not
tail-recursive.  :-)

(I’m confident I’m missing something, but I just fail to see what.  ;-))

Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]