[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-hackers] define-record, etc. patch to chicken 4
From: |
Thomas Chust |
Subject: |
Re: [Chicken-hackers] define-record, etc. patch to chicken 4 |
Date: |
Fri, 13 Feb 2009 12:58:55 +0100 |
2009-02-13 Alaric Snell-Pym <address@hidden>:
> [...]
> Perhaps a better approach, rather than doing string surgery on
> symbols, would be to identify records with a unique address: rather
> than a symbol, store a reference to a record-definition object, which
> has the symbol in a slot, and perhaps a list of field names for
> introspection purposes? Compare it with eqv? and there you go.
> [...]
Hello,
this sounds like a good idea to me. The added benefit of introspection
capabilities also seems attractive :-)
cu,
Thomas
--
When C++ is your hammer, every problem looks like your thumb.