[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#59328: 29.0.50; `seq-keep' implementation only valid for lists
From: |
Eli Zaretskii |
Subject: |
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@web.de>
> Cc: 59328@debbugs.gnu.org, larsi@gnus.org, jonas@bernoul.li
> Date: Thu, 24 Nov 2022 16:09:32 +0100
>
> Eli Zaretskii <eliz@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.
- bug#59328: 29.0.50; `seq-keep' implementation only valid for lists, Michael Heerdegen, 2022/11/16
- bug#59328: 29.0.50; `seq-keep' implementation only valid for lists, Eli Zaretskii, 2022/11/19
- bug#59328: 29.0.50; `seq-keep' implementation only valid for lists, Michael Heerdegen, 2022/11/24
- bug#59328: 29.0.50; `seq-keep' implementation only valid for lists, Eli Zaretskii, 2022/11/24
- bug#59328: 29.0.50; `seq-keep' implementation only valid for lists, Michael Heerdegen, 2022/11/24
- bug#59328: 29.0.50; `seq-keep' implementation only valid for lists, Eli Zaretskii, 2022/11/24
- bug#59328: 29.0.50; `seq-keep' implementation only valid for lists, Michael Heerdegen, 2022/11/24
- bug#59328: 29.0.50; `seq-keep' implementation only valid for lists,
Eli Zaretskii <=
- bug#59328: 29.0.50; `seq-keep' implementation only valid for lists, Michael Heerdegen, 2022/11/24
- bug#59328: 29.0.50; `seq-keep' implementation only valid for lists, Eli Zaretskii, 2022/11/24
- bug#59328: 29.0.50; `seq-keep' implementation only valid for lists, Michael Heerdegen, 2022/11/25
- bug#59328: 29.0.50; `seq-keep' implementation only valid for lists, Stefan Kangas, 2022/11/25
- bug#59328: 29.0.50; `seq-keep' implementation only valid for lists, Eli Zaretskii, 2022/11/25