From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: seq-some-p and nil Date: Tue, 08 Sep 2015 21:03:02 +0200 Message-ID: <87lhcg91jt.fsf@fencepost.gnu.org> References: <1441295429.4215.0@smtp.gmail.com> <87si6vl21r.fsf@petton.fr> <878u8k2vnp.fsf@udel.edu> <878u8i69ok.fsf@petton.fr> <674102d7-0e97-478a-af05-ca6d82c17c28@default> <87mvwym01x.fsf@petton.fr> <87h9n5mloa.fsf@petton.fr> <8737ypm547.fsf@petton.fr> <87pp1s976u.fsf@fencepost.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1441739016 16700 80.91.229.3 (8 Sep 2015 19:03:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 8 Sep 2015 19:03:36 +0000 (UTC) Cc: Mark Oteiza , Nicolas Petton , Drew Adams , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 08 21:03:35 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZZOAr-0000eB-6H for ged-emacs-devel@m.gmane.org; Tue, 08 Sep 2015 21:03:21 +0200 Original-Received: from localhost ([::1]:36735 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZOAp-0000Bo-QX for ged-emacs-devel@m.gmane.org; Tue, 08 Sep 2015 15:03:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38927) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZOAZ-0000BB-UP for emacs-devel@gnu.org; Tue, 08 Sep 2015 15:03:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZZOAZ-0006RR-6m for emacs-devel@gnu.org; Tue, 08 Sep 2015 15:03:03 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:35975) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZOAZ-0006RH-4S; Tue, 08 Sep 2015 15:03:03 -0400 Original-Received: from localhost ([127.0.0.1]:49794 helo=lola) by fencepost.gnu.org with esmtp (Exim 4.82) (envelope-from ) id 1ZZOAY-0003zQ-HQ; Tue, 08 Sep 2015 15:03:02 -0400 Original-Received: by lola (Postfix, from userid 1000) id 202ABE0FB1; Tue, 8 Sep 2015 21:03:02 +0200 (CEST) In-Reply-To: (Stefan Monnier's message of "Tue, 08 Sep 2015 14:43:21 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:189734 Archived-At: Stefan Monnier writes: >>>>> then in most cases, I think the code ends up just as simple with >>>>> seq-some as with seq-find. >>> [...] >>>> To make things easier to understand, I'm taking the example of finding >>>> the first odd number in a seq: >>> I've never needed to do that. >> Marvelous. > > You did notice the "most" qualifier, right? Oh, that changes _everything_, _everything_ I am sure. When at that time in my life when I had been attending lectures some professor would have stated "As an example, let's see how to take the inverse of the matrix ( 1 2 ) ( 2 1 )" I would never felt the urge to tell the professor that this is a particular matrix I never actually needed to invert. I'm pretty sure that the entire lecture room would have bursted into laughter at me volunteering this particular bit of information and considering it important enough to ask for everybody's attention. It is an example. Nobody expects life-shattering relevance of that example for any purpose but being an example. -- David Kastrup