From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?Cl=c3=a9ment_Pit--Claudel?= Newsgroups: gmane.emacs.devel Subject: Re: Add seq-random-elt Date: Mon, 24 Oct 2016 12:54:01 -0400 Message-ID: <03c4ed89-6f9e-1f43-5c1c-f4883312401e@gmail.com> References: <878ttime2i.fsf@cassou.me> <8737jn570z.fsf@cassou.me> <0905f924-62cd-7d44-c179-c1aba6aa8782@lanl.gov> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="a6jCuK8Pqsch8GfpOOLHmHlEcF7MBIw7O" X-Trace: blaine.gmane.org 1477328209 30315 195.159.176.226 (24 Oct 2016 16:56:49 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 24 Oct 2016 16:56:49 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 24 18:56:46 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 1byiY4-00061U-3a for ged-emacs-devel@m.gmane.org; Mon, 24 Oct 2016 18:56:32 +0200 Original-Received: from localhost ([::1]:48224 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1byiY6-0003Mt-FL for ged-emacs-devel@m.gmane.org; Mon, 24 Oct 2016 12:56:34 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48767) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1byiVr-0001Cs-Ol for emacs-devel@gnu.org; Mon, 24 Oct 2016 12:54:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1byiVn-00008h-T3 for emacs-devel@gnu.org; Mon, 24 Oct 2016 12:54:15 -0400 Original-Received: from mout.kundenserver.de ([217.72.192.75]:56006) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1byiVn-00007r-KK for emacs-devel@gnu.org; Mon, 24 Oct 2016 12:54:11 -0400 Original-Received: from [18.26.2.123] ([18.26.2.123]) by mrelayeu.kundenserver.de (mreue104) with ESMTPSA (Nemesis) id 0LhNIm-1clCOv1sBs-00mfeJ for ; Mon, 24 Oct 2016 18:54:09 +0200 In-Reply-To: <0905f924-62cd-7d44-c179-c1aba6aa8782@lanl.gov> X-Provags-ID: V03:K0:Xd9a5KAQjE4iXCCuUPID5WrJ5EroMfI+L4pOffRlALLSt8w6uLW +TtbgDvAvXPgLojUiT8SJLopW47bWtLAOyZpNsN+GyXJF1gC+IQkSmObWeEzErEQQOZ216t yg1w8cj6UZC0NjUHPvUBwHKKIxOay1Uo4ZAgiikI3U1mAI1GkSV8VoykkdBqmYskHCPDqiQ jgVjU9EUlZxsORyygrwTg== X-UI-Out-Filterresults: notjunk:1;V01:K0:nOx4nsW/SwY=:/BBt4POVvB8m/u+GEL6bMR 9xFDB6kOVn7XOAcGxL0nvWxQHCFjNJbiURqpqWv+HlXWunDOejMnUUiG1TmrLbc0xU6iDJbTM fqpVDKZCtDRZ8vUGqCTXDOz3Zc0nhD6h1uJTjcXPbEmsnanRmav3Z+bPxx7z6w17WctanFl01 HUIr3nKWHxBY6qNMRCilmI/LJefDleBMSz3GNZRT8bPfkyqtlmIInJX74onL3d4J+qRQrOxWH mGnucEcuJAswaExEAsyPYMKJ1Db3BI8EkbifBIQyaQAhe400HXcv2bDgnmsquurCdjicgZmcV RUrlHA1qoaiYjnrExlf15B0AIQKe1BJ4UMW3o/hQOgu+K1OwLPlwSyMdQkD6YUp2bBR0o+qDP Qsv29HUlH/kF+LjRYoXaDm3+7sA+H0v9xQPexgkuu9vJAUMQy+DetShd+PzNPfSkO55V1K9ti iAME+l9IAbr5Y6k3Vuz3tgfGjwb5mcFMuYPNiKdQqiUS5tWuUX5dJ5aL9NjbX6VUXfVkSG08S CXz6MWWM6X5gJdjbdwOyJdasNjL4DGm+MDQGJk/yeZiUARkslJh3P7OdhIBDspoqggaRT8pXB a5mXnfctsfutZz/ra4aE3z6c86a5JjceYN8imqQwAjs4OqYwigEkVDoULM5wjblPWQ/Z/oRjL qxG7ZgJkpMyZkO69V19W3qWmVaHnzenUdXF6HysG635gcIG0fMy+cTs8rLFOXJ+4b0sc= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 217.72.192.75 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:208723 Archived-At: This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --a6jCuK8Pqsch8GfpOOLHmHlEcF7MBIw7O Content-Type: multipart/mixed; boundary="1gawtpQbVWxQRUNs22mqln7RqkbkL0KbB"; protected-headers="v1" From: =?UTF-8?Q?Cl=c3=a9ment_Pit--Claudel?= To: emacs-devel@gnu.org Message-ID: <03c4ed89-6f9e-1f43-5c1c-f4883312401e@gmail.com> Subject: Re: Add seq-random-elt References: <878ttime2i.fsf@cassou.me> <8737jn570z.fsf@cassou.me> <0905f924-62cd-7d44-c179-c1aba6aa8782@lanl.gov> In-Reply-To: <0905f924-62cd-7d44-c179-c1aba6aa8782@lanl.gov> --1gawtpQbVWxQRUNs22mqln7RqkbkL0KbB Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2016-10-24 12:24, Davis Herring wrote: >> * checks for null parameter as Cl=C3=A9ment requested >=20 > 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 ot= herwise (if the sequence contains it). Indeed, I think I agree with this. --1gawtpQbVWxQRUNs22mqln7RqkbkL0KbB-- --a6jCuK8Pqsch8GfpOOLHmHlEcF7MBIw7O Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJYDjyvAAoJEPqg+cTm90wjSgAQAJrk7U0CwRWyz19UgfLsFAn6 e8oS82JOXvetRQEhevbEwdvSNHMTUfe60xex/Eq18d4vTtd2BjeDFRJvYwVTGp9F 5uBhf9ApszWmxlAIzeG8eseo7Y3SV+0uHeM2CqTDJluhHIxw3XIDk71WQGb+6tzX Gyt6WdYqEum3DYgs8B/Q1i7dw9+pWnSkweJWwp3BfJRi/VAekz87nECTORIWcGFU 29m9XROyJ2BDivh7Y7BmzxXDePc7GROOLoZ9XTER5f+gRAleEImbbndzBb0fvMX+ DlM2BU14Dxe4kVIBIv6O1v9lMoqFZAOKipG/P1V/0KfiDOTc5mMMjdSI/No8BxI6 nUcUGRrwJ0b8zkWd8O+/w01xXHKp+eZbvyQqPuh43a/oyfs5NPM1vI5MX3fcZmLF mJOo/WQ2r5L0PSxbngDk5fqro5mO97IGR1pWQEZv8o/tnEfvXe8B15l58ht+oLXi Ww/3IdMsWigwMEulaOEXh+s/+2i2qqrAdJIsT4hNDIRWDN+qAjk2UWj6PSpdvvkJ Eoh3W2/XEvkyv0WmY9lxriWqISD7moPxXLYcL8DgTt76kNdynLEqsNYhtlyfQeh2 AlQiRuF464OVllMCkHKCqDiJL/l1lOzsip3BsLMkwu5kbBUJ5p2hionkEnp7HcLh ckESpqSNcLNYCUbFl9Qw =FAjt -----END PGP SIGNATURE----- --a6jCuK8Pqsch8GfpOOLHmHlEcF7MBIw7O--