all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tino Calancha <tino.calancha@gmail.com>
To: Nicolas Petton <nicolas@petton.fr>
Cc: Emacs developers <emacs-devel@gnu.org>,
	Stefan Monnier <monnier@iro.umontreal.ca>,
	Tino Calancha <tino.calancha@gmail.com>
Subject: Re: Allow for result arg in seq-doseq ?
Date: Mon, 8 Aug 2016 21:07:03 +0900 (JST)	[thread overview]
Message-ID: <alpine.DEB.2.20.1608082100460.11872@calancha-pc> (raw)
In-Reply-To: <87zionqxpd.fsf@petton.fr>



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



  reply	other threads:[~2016-08-08 12:07 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 [this message]
2016-08-08 13:16     ` Stefan Monnier
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

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

  git send-email \
    --in-reply-to=alpine.DEB.2.20.1608082100460.11872@calancha-pc \
    --to=tino.calancha@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=nicolas@petton.fr \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.