From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Tino Calancha Newsgroups: gmane.emacs.devel Subject: Re: Allow for result arg in seq-doseq ? Date: Mon, 8 Aug 2016 21:07:03 +0900 (JST) Message-ID: References: <87zionqxpd.fsf@petton.fr> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Trace: blaine.gmane.org 1470658078 22843 195.159.176.226 (8 Aug 2016 12:07:58 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 8 Aug 2016 12:07:58 +0000 (UTC) User-Agent: Alpine 2.20 (DEB 67 2015-01-07) Cc: Emacs developers , Stefan Monnier , Tino Calancha To: Nicolas Petton Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 08 14:07:54 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 1bWjLQ-0004SF-79 for ged-emacs-devel@m.gmane.org; Mon, 08 Aug 2016 14:07:48 +0200 Original-Received: from localhost ([::1]:56972 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bWjLM-0001XX-PF for ged-emacs-devel@m.gmane.org; Mon, 08 Aug 2016 08:07:44 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34389) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bWjKp-0001XN-4g for emacs-devel@gnu.org; Mon, 08 Aug 2016 08:07:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bWjKk-0006e9-TY for emacs-devel@gnu.org; Mon, 08 Aug 2016 08:07:10 -0400 Original-Received: from mail-pf0-x229.google.com ([2607:f8b0:400e:c00::229]:36764) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bWjKk-0006e5-Lz for emacs-devel@gnu.org; Mon, 08 Aug 2016 08:07:06 -0400 Original-Received: by mail-pf0-x229.google.com with SMTP id h186so118617649pfg.3 for ; Mon, 08 Aug 2016 05:07:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:date:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=FbaIY99A2Tjs1JN0j2Xcbzo1QGv0gEjdb6sPDQuWvgk=; b=Iq0UMWY7/P1zKwfEkV6mjX2BvWBF/1jvuipQ5HN0KM71HPLmst9hITOOsTXUCxiZ0S u96g0B5hAYBQKE26PClv3AIVVUQMJDwSaXueHL6Epst2YItBKS3+DIPzw2m5VdKPX0w4 n1wpAurEZgbKmW8J7WTzQ65PfC+HG58Gp9MSZQiHe/VfFyK6VfwPyZFFExzZR38g9CvY LalymgVeu3fhxxKwNV+zWzrszfksvBY/o5ouZ1hXZMF0oGzH4GFkUQopaMOwyQFQioYy uDZAg0aIQO9FioYk0cdaBCumJ5YuhCv7RiGtAppHCxcZFstI4Ufmzys+ht2nG5gDQwyH OupQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:date:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=FbaIY99A2Tjs1JN0j2Xcbzo1QGv0gEjdb6sPDQuWvgk=; b=E6vBHhTR2LFOSMMyx+A0d/VT9Q4W2wwbLKNiJgMsH1Rg193x1LZ2tSWKN75hANIXgT +1GE8tH7f7ypS4ooETOR9kd/7JrsTM6fkjU3Y2qd1PHKbjGyPuDhtVVbkOx3bQn/XkF2 6u8IGHL2riaf8IeohxZXO4oXvnGs68w2AWPr2qQaOWMIhyXuFt8TJ3OqaLDbkq7R79Li Bh9AgzxzBPajRK7t2DM9bioVLlXlLnhtH8oyG506y7eUE8vlrQvxs8PwrgfTvnGagSO5 dGMQTBz5+B+fb1dxXOxnC+pcy1g59tCygRjc+HXivyJ5gpMOQEb6kBZAKl5jCefeXDOD /QbA== X-Gm-Message-State: AEkoouv0V1eM07rX/UxawRVRXWZJTxyZSRRmLG5how+DoeO6kdUR4PkOpkVWd51/I301mA== X-Received: by 10.98.78.138 with SMTP id c132mr161302113pfb.67.1470658025945; Mon, 08 Aug 2016 05:07:05 -0700 (PDT) Original-Received: from calancha-pc (152021171106.wi-fi.kddi.com. [106.171.21.152]) by smtp.gmail.com with ESMTPSA id g27sm47728349pfd.47.2016.08.08.05.07.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 08 Aug 2016 05:07:05 -0700 (PDT) X-Google-Original-From: Tino Calancha X-X-Sender: calancha@calancha-pc In-Reply-To: <87zionqxpd.fsf@petton.fr> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400e:c00::229 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:206481 Archived-At: On Mon, 8 Aug 2016, Nicolas Petton wrote: > 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. Hi Nico, To be honest i don't use RESULT on dolist either :-) My weak motivation to add this is just that i 'dolist' and 'seq-doseq' would be more similar. Anyway, even allowing RESULT in 'seq-doseq' they will differ on the return value when RESULT is missing: * dolist return nil * seq-doseq return sequence. Regards, Tino