[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
ADJUST-ARRAY-DISPLACEMENT
- To: navajo!KMP%STONY-BROOK.SCRC.Symbolics.COM@navajo.stanford.edu
- Subject: ADJUST-ARRAY-DISPLACEMENT
- From: edsel!bhopal!jonl@navajo.stanford.edu (Jon L White)
- Date: Fri, 12 Jun 87 17:27:22 PDT
- Cc: navajo!CL-Cleanup%SAIL.STANFORD.EDU@navajo.stanford.edu
- In-reply-to: Kent M Pitman's message of Thu, 11 Jun 87 20:17 EDT <870611201753.5.KMP@RIO-DE-JANEIRO.SCRC.Symbolics.COM>
You suggest adding two new functions to Common Lisp:
ARRAY-DISPLACED-TO array [function]
ARRAY-DISPLACED-INDEX-OFFSET array [Function]
Did you overlook the function specified in the 6-Dec-85 "Clarifications"?
DISPLACED-ARRAY-P array [Function]
"which takes an array and returns NIL and 0 if it is not displaced or the
array displaced to and the displaced-index-offset if it is displaced."
Wouldn't it be much better to adopt the "Clarifications" approaches, where
appropriate, since some, if not several, implementations have already
implemented them?
-- JonL --