[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Arry leaders & structs
Date: Tue, 28 Jul 1992 20:12 EDT
From: jbarnett@charming.nrtc.northrop.com
I am using defstruct to define a 1-d bit array with a leader. I ran into
some problems because the first position of the leader is interpreted as
the fill-pointer by some primitives such as bit-vector-cardinality. I
changed the defstruct so that the fill-pointer position is unused (by me)
and always contains a nil. Will this force all the bit primitivies to
use the actual array length? If not, must I stuff the fill-pointer
position with the array length?
I believe this will do what you want.
barmar