emacs-devel
[Top][All Lists]
Advanced

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

Re: [Emacs-diffs] master 387e1e1: New version of `seq-let' based on a pc


From: Stefan Monnier
Subject: Re: [Emacs-diffs] master 387e1e1: New version of `seq-let' based on a pcase pattern
Date: Mon, 11 May 2015 21:03:01 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

> Wouldn't that result in passing the sequence as the second argument of
> `seq-elt'?

Yes.  Sorry, I missed that `elt' takes args in the same order as `aref'
rather than `nth'.

> That was the reason why I added this reversed arguments.

Ah, in this case, I guess you could use pcase--flip (or equivalent).
Notice that it's a macro, so the arg-reversal will take place at
compile-time.


        Stefan



reply via email to

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