[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Default attributes of copy due to SUBSEQ
- To: REM@MIT-MC.ARPA
- Subject: Default attributes of copy due to SUBSEQ
- From: Rob MacLachlan <RAM@CMU-CS-C.ARPA>
- Date: Wed, 20 Mar 1985 08:40:00 -0000
- Cc: common-lisp@SU-AI.ARPA, Gall@MIT-MULTICS.ARPA
- In-reply-to: Msg of 1985 Mar 19 21:23:38 PST (=GMT-8hr) from Robert Elton Maas <REM at IMSSS.SU.EDU>
The semantics that I favor (and those implemented by Spice Lisp)
are that every Common Lisp function which returns an array returns a
simple array unless the function is make-array or one of the arguments
is eq to the result. This has the advantage of being a simple
specification, and also allows the compiler to do more interesting
type-inference.
Rob