[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Density?] SEQUENCE-FUNCTIONS-EXCLUDE-ARRAYS (Version 4)
- To: Jon L White <firstname.lastname@example.org>
- Subject: [Density?] SEQUENCE-FUNCTIONS-EXCLUDE-ARRAYS (Version 4)
- From: David A. Moon <Moon@STONY-BROOK.SCRC.Symbolics.COM>
- Date: Mon, 30 Nov 87 12:19 EST
- Cc: Dave.Touretzky@C.CS.CMU.EDU, cl-cleanup@SAIL.STANFORD.EDU
- In-reply-to: <8711281327.AA17747@bhopal.lucid.com>
Date: Sat, 28 Nov 87 05:27:53 PST
From: Jon L White <email@example.com>
There's one sense in which I share Fahlman's reluctance to accept this idea.
It seems to presume that underlying any array whatsoever is a simple
vector of elements that represent the array in dense, row-major order.
That was clearly the intention of Common Lisp, although I note that the
only place in CLtL that says this explicitly is an example on p.289.
It can also be deduced from the definitions of array-total-size and
array-row-major-index, because the range of array-row-major-index's
answer is defined to be a range of integers that contains just enough
members to supply a value for each subscript set, with no gaps.
Since CLtL was not explicit enough to be clear to you, perhaps a cleanup
proposal in the "clarification" category is needed.