bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#25154: 25.1; Bindings in cl-letf are in reverse order


From: Philipp Stephani
Subject: bug#25154: 25.1; Bindings in cl-letf are in reverse order
Date: Fri, 23 Dec 2016 12:17:54 +0000



Eli Zaretskii <eliz@gnu.org> schrieb am Sa., 10. Dez. 2016 um 15:09 Uhr:
> From: Philipp Stephani <p.stephani2@gmail.com>
> Date: Sat, 10 Dec 2016 13:41:16 +0000
> Cc: 25154@debbugs.gnu.org, Alex <agrambot@gmail.com>
>
>  > Isn't it true that the order of evaluation in a 'let' is unspecified?
>  > If you want a particular order, use 'let*'.
>  Right, the order of evaluation in a let is up to the implementation. A program
>  should not rely on such details.
>  The same statement should apply to cl-letf.
>
> I think that should be mentioned explicitly in the manuals: given that the order of value evaluations is specified,
> people might expect the same for the bindings themselves.

I agree, patches to that effect are welcome.  (AFAICT, the manual
tries to say that already, but the wording could be more explicit.)

OK, I've attached a patch that hopefully clarifies this a bit. 

Attachment: 0001-Document-that-variable-binding-order-is-unspecified.txt
Description: Text document


reply via email to

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