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

:fill-pointer maybe



Another maybe!

On pg 288, about the :fill-pointer keyword to MAKE-ARRAY:

"This argument specifies that the array should have a fill pointer.  If this
option is specified and not NIL, the array must be one-dimensional.  The value
is used to initialize the fill pointer for the array.  If the value T is
specified, the length of the array is used...etc."

It doesn't say that an array with :fill-pointer nil *doesn't* have a fill
pointer, although it implies that multi-dimensional arrays can't or don't have
one.  I have one implmentation where all vectors have fill pointers, and
another that strictly reports an error when vector-push-extend is called on an
array with no fill pointer.

Any idea if this is intentional relaxation, or oversight?

RB