unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Tino Calancha <tino.calancha@gmail.com>
Cc: Nicolas Petton <nicolas@petton.fr>,
	Emacs developers <emacs-devel@gnu.org>
Subject: Re: Allow for result arg in seq-doseq ?
Date: Mon, 08 Aug 2016 09:16:59 -0400	[thread overview]
Message-ID: <jwvbn13qu50.fsf-monnier+Inbox@gnu.org> (raw)
In-Reply-To: <alpine.DEB.2.20.1608082100460.11872@calancha-pc> (Tino Calancha's message of "Mon, 8 Aug 2016 21:07:03 +0900 (JST)")

>> 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



  reply	other threads:[~2016-08-08 13:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-08 11:52 Allow for result arg in seq-doseq ? Tino Calancha
2016-08-08 11:58 ` Nicolas Petton
2016-08-08 12:07   ` Tino Calancha
2016-08-08 13:16     ` Stefan Monnier [this message]
2016-08-08 13:25       ` Tino Calancha

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvbn13qu50.fsf-monnier+Inbox@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=nicolas@petton.fr \
    --cc=tino.calancha@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).