From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Nicolas Petton Newsgroups: gmane.emacs.devel Subject: Re: Allow for result arg in seq-doseq ? Date: Mon, 08 Aug 2016 13:58:22 +0200 Message-ID: <87zionqxpd.fsf@petton.fr> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Trace: blaine.gmane.org 1470657885 19197 195.159.176.226 (8 Aug 2016 12:04:45 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 8 Aug 2016 12:04:45 +0000 (UTC) User-Agent: Notmuch/0.21 (https://notmuchmail.org) Emacs/25.1.1 (x86_64-redhat-linux-gnu) Cc: Stefan Monnier , Emacs developers To: Tino Calancha Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 08 14:04:37 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bWjHd-0003Vr-IS for ged-emacs-devel@m.gmane.org; Mon, 08 Aug 2016 14:03:53 +0200 Original-Received: from localhost ([::1]:56854 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bWjHa-0000AO-H0 for ged-emacs-devel@m.gmane.org; Mon, 08 Aug 2016 08:03:50 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58368) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bWjCZ-0004Sy-PE for emacs-devel@gnu.org; Mon, 08 Aug 2016 07:58:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bWjCV-0003f7-Md for emacs-devel@gnu.org; Mon, 08 Aug 2016 07:58:38 -0400 Original-Received: from out2-smtp.messagingengine.com ([66.111.4.26]:54678) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bWjCU-0003bY-D5 for emacs-devel@gnu.org; Mon, 08 Aug 2016 07:58:35 -0400 Original-Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 51891202B9; Mon, 8 Aug 2016 07:58:24 -0400 (EDT) Original-Received: from frontend1 ([10.202.2.160]) by compute5.internal (MEProxy); Mon, 08 Aug 2016 07:58:24 -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=SZzl6b4VeNhSz7YmMR64Un79tkA=; b=SkuSX GafjAj6xPez2md11vqJcwBt/BjGI9e3zTQbQsHUvzWVZ4xzGQfAx+b/EsP9OaVuB CZmgBMIpzRGX3YHMig5NqRkhBC3YRMdBdcHH0i19bY0fe98zyvFCKlBPeH2TOLv6 LJiYU3mtpgjttBQxZVESpAynQCb35hIOZIXoVc= X-Sasl-enc: rZt6/MxnVnvWtL14ah/sViY2mrmUr5wCtRuwxQ1L1+xA 1470657503 Original-Received: from blueberry (175.108.89.92.rev.sfr.net [92.89.108.175]) by mail.messagingengine.com (Postfix) with ESMTPA id 880BFF2986; Mon, 8 Aug 2016 07:58:23 -0400 (EDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 66.111.4.26 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:206480 Archived-At: --=-=-= Content-Type: text/plain Tino Calancha writes: > Dear Nico, Hi Tino, > Currently seq-doseq unconditionally returns the input sequence. > Do you think might be useful to allow for an arg RESULT in the SPEC > as `dolist' does? IIRC the first version was like that, but for a forgotten reason, Stefan (in the Cc) thought that the RESULT arg was useless (I myself never use it in `dolist'). I am not opposed to adding it back though. Cheers, Nico --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: GPGTools - http://gpgtools.org iQEcBAEBCAAGBQJXqHPeAAoJECM1h6R8IHkQWMoH/15k0Iey2TYDcjeki7RXu4ER fWzpW0pMp9JLaWTSXtNZIeCVMW0W96d232RhkfUz8XsmEXHTF+yCf8TNfLTqwm7R OHtNsqV5sFzii0NIdFTlFm1f5B0O0kTSZrBJpoYWr0IEJaCXT5YPF03MEw4L81+m ka13taxYhFgLp7yosLBAzZ+YGKX8yb6YfcTgKng2FNUlmKV1Gdnk0rjHNo0KbUwO T0dwvdunXbibLP/3xW0b1TYAPnWPYmsxo6fIrBxG7FYsuH1npkx0Wnh5U4QZjCde Ywcr3/FIQudi4AfwfAGtqm7yphdACiss5DIdKDXc4rG45cPBNEZ1h5a+KkvrmqI= =/eav -----END PGP SIGNATURE----- --=-=-=--