On Mon, Feb 9, 2009 at 1:09 PM, felix winkelmann <[email protected]> wrote:
> On Sat, Feb 7, 2009 at 10:40 AM, Jim Ursetto <[email protected]> wrote:
>> define-record, define-record-type and define-record-printer do not
>> take the module namespace into account, so records that are defined in
>> different modules--but have the same base name--may conflict, giving
>> strange results or crashing your program.  The attached patch
>> qualifies the structure name with the current module name, which seems
>> to work.
>
> The record-definition macros take a record name and use it as a tag
> for structures, and because the expansion is a quoted symbol, it
> will not be qualified, so it is basically a sort of
>
>  (vector 'tag slotval1 ...)
>
>  I'm not sure whether it is a good idea to generally qualify record tags.
>
> Thanks for the patch - I will evaluate it and try to think of what happens
> in the case we do this.
>

I need some advice for this. What do others think?


cheers,
felix


_______________________________________________
Chicken-hackers mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-hackers

Reply via email to