[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[adjustable arrays?] More FORMAT
Re: In some implementations all arrays are adjustable even if you didn't
explicitly ask for an adjustable array in make-array.
Isn't this a bug? It certainly provides a loophole for non-portable code
that isn't reasonably detectable as non-portable. For CLtL says
(1) on p289 that certain arguments to make-array "guarantee" that the
result will be a simple array;
(2) and on p28 that a simple array "is not to have its size adjusted
dynamically after creation".
You can imagine how someone using a system that doesn't detect this error
will fare when trying to run on another system that really can't adjust
-- JonL --
- More FORMAT
- From: David A. Moon <Moon@STONY-BROOK.SCRC.Symbolics.COM>