gcl-devel
[Top][All Lists]
Advanced

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

[Gcl-devel] Displaced bit vectors aren't working


From: Paul F. Dietz
Subject: [Gcl-devel] Displaced bit vectors aren't working
Date: Sat, 11 Jan 2003 19:47:36 -0600
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2) Gecko/20021126

I've submitted a bug report for this on the Savannah gcl page; this is
a CLtL1 problem, not just an ANSI CL problem.

(let ((a (make-array '(10) :element-type 'bit :initial-contents '(0 1 1 0 1 1 1 
0 1 0))))
     (values
       a
       (make-array '(8) :element-type 'bit
            :displaced-to a
            :displaced-index-offset 2)))
==>
#*0110111010
#*01101110      ;; wrong -- it's displaced by 0, not 2

        Paul






reply via email to

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