guile-devel
[Top][All Lists]
Advanced

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

Re: Tree-IL on let


From: Mark H Weaver
Subject: Re: Tree-IL on let
Date: Thu, 01 Jun 2017 19:34:18 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)

Matt Wette <address@hidden> writes:

> In Tree-IL there is let, letrec and letrec* but not let*.   Any reason
> why?

'let*' is a trivial convenience macro for nested 'let', whereas 'letrec'
and 'letrec*' are processed later in compilation, and neither one can be
efficiently implemented in terms of the other.

> I guess I should use (let () (let () …, right?

Yes.

     Regards,
       Mark



reply via email to

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