emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Add seq-random-elt


From: Davis Herring
Subject: Re: Add seq-random-elt
Date: Mon, 24 Oct 2016 10:24:25 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]