emacs-devel
[Top][All Lists]
Advanced

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

Re: seq-some-p and nil


From: David Kastrup
Subject: Re: seq-some-p and nil
Date: Tue, 08 Sep 2015 21:03:02 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Stefan Monnier <address@hidden> 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



reply via email to

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