1 Jan 2005 15:53
Re: Sbcl-devel digest, Vol 1 #1292 - 4 msgs
Rob MacLachlan <ram <at> ri.cmu.edu>
2005-01-01 14:53:38 GMT
2005-01-01 14:53:38 GMT
I don't know about in SBCL, but in my original code, still in CMUCL, the
variable *use-implementation-types* is supposed to determine whether
type disjointness it determined based on the actual types in this
particular implementation or the a more restrictive rule based on what
could possible be done in a legal implementation. So w.r.t. (vector
package) v.s. (vector hashable), those objects would be distinguishable
in an implementation where one or the other was a specialized array
element type.
I recall leaving this switch set to false so that we would be able to
detect more error situations where the code is not portable but is type
legal in this implementation. Hoever at some point, this seems to have
changed to T in the cmucl sources, so this feature is off.
Anyway, this may be relevant.
(defvar *use-implementation-types* t
"*Use-Implementation-Types* is a semi-public flag which determines how
restrictive we are in determining type membership. If two types are the
same in the implementation, then we will consider them them the same
when
this switch is on. When it is off, we try to be as restrictive as the
language allows, allowing us to detect more errors. Currently, this
only
affects array types.")
Rob
-------------------------------------------------------
(Continue reading)
RSS Feed