From: Davis Herring <herring@lanl.gov>
To: Damien Cassou <damien@cassou.me>
Cc: Nicolas Petton <nicolas@petton.fr>, emacs-devel@gnu.org
Subject: Re: Add seq-random-elt
Date: Mon, 24 Oct 2016 10:24:25 -0600 [thread overview]
Message-ID: <0905f924-62cd-7d44-c179-c1aba6aa8782@lanl.gov> (raw)
In-Reply-To: <8737jn570z.fsf@cassou.me>
> * checks for null parameter as Clément requested
The check should signal an error, though: it's meaningless to ask for a
random choice from an empty set, and nil is a legitimate return value
otherwise (if the sequence contains it).
Davis
--
This product is sold by volume, not by mass. If it appears too dense or
too sparse, it is because mass-energy conversion has occurred during
shipping.
next prev parent reply other threads:[~2016-10-24 16:24 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-21 6:05 Add seq-random-elt Damien Cassou
2016-10-21 8:08 ` Nicolas Petton
2016-10-21 9:06 ` Nicolas Petton
2016-10-21 18:57 ` Stefan Monnier
2016-10-21 20:52 ` Nicolas Petton
2016-10-21 21:30 ` Stefan Monnier
2016-10-22 8:13 ` Michael Heerdegen
2016-10-22 12:42 ` Ted Zlatanov
2016-10-22 14:53 ` Clément Pit--Claudel
2016-10-22 14:54 ` Clément Pit--Claudel
2016-10-23 17:06 ` Damien Cassou
2016-10-24 11:03 ` Nicolas Petton
2016-10-24 13:07 ` Stefan Monnier
2016-10-24 16:24 ` Davis Herring [this message]
2016-10-24 16:54 ` Clément Pit--Claudel
2016-10-25 6:52 ` Damien Cassou
2016-10-25 10:33 ` Nicolas Petton
2016-10-25 18:58 ` Eli Zaretskii
2016-10-25 19:32 ` Nicolas Petton
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=0905f924-62cd-7d44-c179-c1aba6aa8782@lanl.gov \
--to=herring@lanl.gov \
--cc=damien@cassou.me \
--cc=emacs-devel@gnu.org \
--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.