Hi
Em qui, 14 de mar de 2019 18:43, Stefan Monnier
<monnier@iro.umontreal.ca> escreveu:
>
> > If ELT=nil, seq-contains currently returns nil anyway;
>
> That's true when `testfn` is nil, but not if you provide
> your own `testfn`.
Not really.
(seq-contains nil '(nil t foo) (lambda (x) t)) -> nil
It returns *nil* if testfn fails, or *nil* (ELT) if it succeds.
Miguel