bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#34852: 26.1; seq-intersection ignores nil as element


From: Miguel V. S. Frasson
Subject: bug#34852: 26.1; seq-intersection ignores nil as element
Date: Thu, 14 Mar 2019 20:21:41 -0300

You are right.

Em qui, 14 de mar de 2019 às 20:14, Stefan Monnier
<address@hidden> escreveu:
>
> > (seq-contains nil '(nil t foo) (lambda (x) t))  ->  nil
> > It returns *nil* if testfn fails, or *nil* (ELT) if it succeds.
>
> Just because it sometimes does doesn't mean it always does:
>
>     (seq-contains '(0 3 4) 1 #'<)
>
> returns 3
>
>
>         Stefan



-- 
Miguel Vinicius Santini Frasson
address@hidden





reply via email to

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