[cmucl-imp] Re: Redefining structure accessors (summary)

Raymond Toy toy.raymond at gmail.com
Thu Mar 18 17:47:18 CET 2010


On 3/16/10 6:06 PM, Helmut Eller wrote:
> * Raymond Toy [2010-03-16 21:48+0100] writes:
>
>   
>> I also notice that you can redefine the structure predicate without
>> warning.  Perhaps we should warn about this too.
>>     
> Possibly.  At least typep is smart enough not to call the predicate name
> and still works if the predicate was redefined.
>   
The compiler doesn't know the names of the predicate function or the
copier function either, so we can't currently check for that.  We'd need
to add that to the info database.  Shouldn't be hard, but I don't feel
like doing that right now.

Ray




More information about the cmucl-imp mailing list