From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Allow for result arg in seq-doseq ? Date: Mon, 08 Aug 2016 09:16:59 -0400 Message-ID: References: <87zionqxpd.fsf@petton.fr> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1470663711 7462 195.159.176.226 (8 Aug 2016 13:41:51 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 8 Aug 2016 13:41:51 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cc: Nicolas Petton , Emacs developers To: Tino Calancha Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 08 15:41:47 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 1bWko4-00070P-8r for ged-emacs-devel@m.gmane.org; Mon, 08 Aug 2016 15:41:28 +0200 Original-Received: from localhost ([::1]:57475 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bWko1-0006R3-30 for ged-emacs-devel@m.gmane.org; Mon, 08 Aug 2016 09:41:25 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52162) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bWkQU-00079Q-6s for emacs-devel@gnu.org; Mon, 08 Aug 2016 09:17:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bWkQQ-0006JX-1E for emacs-devel@gnu.org; Mon, 08 Aug 2016 09:17:05 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:64862) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bWkQP-0006JF-R8 for emacs-devel@gnu.org; Mon, 08 Aug 2016 09:17:01 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0AvEwA731xV/2/xd0tcgxCEAoVVuzcJh0cEBAICgTw5FAEBAQEBAQGBCkEFg10BAQMBViMQCzQSFBgNJIg3CAXPHgEBCAIgizqFBQeELQEEpVCNb4FFI4QUIoJ4AQEB X-IPAS-Result: A0AvEwA731xV/2/xd0tcgxCEAoVVuzcJh0cEBAICgTw5FAEBAQEBAQGBCkEFg10BAQMBViMQCzQSFBgNJIg3CAXPHgEBCAIgizqFBQeELQEEpVCNb4FFI4QUIoJ4AQEB X-IronPort-AV: E=Sophos;i="5.13,465,1427774400"; d="scan'208";a="250567586" Original-Received: from 75-119-241-111.dsl.teksavvy.com (HELO pastel.home) ([75.119.241.111]) by smtp.teksavvy.com with ESMTP; 08 Aug 2016 09:16:59 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id AAFE56416D; Mon, 8 Aug 2016 09:16:59 -0400 (EDT) In-Reply-To: (Tino Calancha's message of "Mon, 8 Aug 2016 21:07:03 +0900 (JST)") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 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:206482 Archived-At: >> 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. > To be honest i don't use RESULT on dolist either :-) FWIW, I'd favor for seq-doseq to return nil, to really discourage the use of its output (which tends to hide the use and its corresponding side-effects). Stefan