GNU bug report logs - #59328
29.0.50; `seq-keep' implementation only valid for lists

Previous Next

Package: emacs;

Reported by: Michael Heerdegen <michael_heerdegen <at> web.de>

Date: Thu, 17 Nov 2022 02:19:02 UTC

Severity: wishlist

Found in version 29.0.50

Full log


Message #26 received at 59328 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Michael Heerdegen <michael_heerdegen <at> web.de>
Cc: larsi <at> gnus.org, jonas <at> bernoul.li, 59328 <at> debbugs.gnu.org
Subject: Re: bug#59328: 29.0.50; `seq-keep' implementation only valid for lists
Date: Thu, 24 Nov 2022 17:15:24 +0200
> From: Michael Heerdegen <michael_heerdegen <at> web.de>
> Cc: 59328 <at> debbugs.gnu.org,  larsi <at> gnus.org,  jonas <at> bernoul.li
> Date: Thu, 24 Nov 2022 16:09:32 +0100
> 
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> > OK, then just install this, though now I wonder why we need this change...
> 
> Without that change `seq-keep' would error for sequence types like
> streams.  Try for example
> 
> #+begin_src emacs-lisp
> (require 'stream)
> (seq-keep
>  (lambda (x) (and (<= 0 x) x))
>  (stream (list -1 2 -3 4)))
> #+end_src

Didn't you just say that 'stream' is not in Emacs?  If I try the above, the
debugger kicks in right on the 'require' line.




This bug report was last modified 125 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.