From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nicolas Petton Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] master 387e1e1: New version of `seq-let' based on a pcase pattern Date: Mon, 11 May 2015 23:35:01 +0200 Message-ID: <87zj5adchm.fsf@petton.fr> References: <20150510182502.23307.63648@vcs.savannah.gnu.org> <874mnjdycw.fsf@petton.fr> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1431380134 8745 80.91.229.3 (11 May 2015 21:35:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 11 May 2015 21:35:34 +0000 (UTC) Cc: Petton , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 11 23:35:24 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YrvMB-0001jJ-Cz for ged-emacs-devel@m.gmane.org; Mon, 11 May 2015 23:35:23 +0200 Original-Received: from localhost ([::1]:39791 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YrvMA-0001DV-KB for ged-emacs-devel@m.gmane.org; Mon, 11 May 2015 17:35:22 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50482) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YrvLu-0001Bi-Vg for emacs-devel@gnu.org; Mon, 11 May 2015 17:35:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YrvLq-0008JS-WD for emacs-devel@gnu.org; Mon, 11 May 2015 17:35:06 -0400 Original-Received: from out4-smtp.messagingengine.com ([66.111.4.28]:35555) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YrvLq-0008JE-Te for emacs-devel@gnu.org; Mon, 11 May 2015 17:35:02 -0400 Original-Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id C140C20BC5 for ; Mon, 11 May 2015 17:35:02 -0400 (EDT) Original-Received: from frontend1 ([10.202.2.160]) by compute2.internal (MEProxy); Mon, 11 May 2015 17:35:02 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=WpJqy2tADXoSgS3uIz92bTdSS8s=; b=TrHa/ IXJkQK1+IySBKHwqTtWiolKyfGTakebzKAaQwAEZfXCqddLFSbJzQU/qEUcGZssF o93EV0EhfCNYf34OLukWJTk/oFA2GUyv9h8wCUPV/2P/jx4Sy+dhFSGXAmTrSjiT dY0uyk+LaNFhu8dTyqFPtfv+OidgrCVVPSSc10= X-Sasl-enc: jxxVEROio9sCICInRkIC777MuPPvt+sareILEXyFAVO7 1431380102 Original-Received: from blueberry (unknown [92.139.225.158]) by mail.messagingengine.com (Postfix) with ESMTPA id 16775C00011; Mon, 11 May 2015 17:35:01 -0400 (EDT) In-reply-to: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 66.111.4.28 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:186440 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Stefan Monnier writes: > Why wouldn't > > `(app (seq--nested-elt ',(reverse (cons index nested-indexes))) ,name) > > work as well? Or, once you get rid of the nested case, > > `(app (seq-elt ,index) ,name) Wouldn't that result in passing the sequence as the second argument of `seq-elt'? That was the reason why I added this reversed arguments. Cheers, Nico =2D-=20 Nicolas Petton http://nicolas-petton.fr --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: GPGTools - http://gpgtools.org iQEcBAEBAgAGBQJVUSCFAAoJECM1h6R8IHkQBncIAKQXZLxjHFmDxKMDL9Uy4G8H PxDYFKTh7oA9+Xuw0ri/CPU1qeRWU14KivlAP0fwn/2txZmcJSbZKtpTlo0u/wd5 K64RGcPNzAkVN8pkfye5O6MsNcQZ/OnrMpHMNbklDbvOzl/71tdbMOnVhwOcgFYS 6pLr2eAqQ9OOixUP2nxoZKmtkyC4X3sNaQsx0Y2NupWKBAEKb0HLUUvl0JKUXZAD m3GCSkc8HnupGrUDsJS8AxSKzi9FYM5bFtXm+3ts8rvaeXjg7VPNDbccXaVjOenv +JsvBHTSHW65bShqUiTTYCAYBgK3KqOZ0VhPfPy0dVEMxsObgje+TH6oLbq61kQ= =/Ele -----END PGP SIGNATURE----- --=-=-=--