emacs-devel
[Top][All Lists]
Advanced

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

Re: cl-extra.el : any support for bool-vector type?


From: Eli Zaretskii
Subject: Re: cl-extra.el : any support for bool-vector type?
Date: Sat, 10 Aug 2019 11:16:01 +0300

> From: Philippe Schnoebelen <address@hidden>
> Date: Sun, 28 Jul 2019 08:59:12 +0200
> 
> Was surprised to see that
> 
>     (cl-map 'vector #'not '(nil nil 2 3 nil 5 nil 7 nil nil nil 11))
> 
> is accepted by emacs while
> 
>     (cl-map 'bool-vector #'not '(nil nil 2 3 nil 5 nil 7 nil nil nil 11))
> 
> fails with (error "Unknown type bool-vector").
> 
> Turns out that cl-extra.el does not support bool-vectors. Is there any
> reason for this? Not knowing of any, I've just added one line to
> cl-coerce and now I can coerce to bool-vectors. See attachment. Let me
> know if I'm being reckless ...  -phs

Thanks, I pushed this to the master branch.



reply via email to

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