This is the mail archive of the
guile@sources.redhat.com
mailing list for the Guile project.
Unifying properties
- To: guile at sources dot redhat dot com
- Subject: Unifying properties
- From: Marius Vollmer <mvo at zagadka dot ping dot de>
- Date: 17 Aug 2000 00:35:20 +0200
Hi,
right now, there are at least three different kinds of properties in
Guile: procedure properties, source properties, and object properties.
I would like to merge them so that there would be only one kind of
property: object properties.
The special kind of properties could be justified because certain
kinds of objects might have a more efficient method for storing
properties. For example, procedures have a dedicated slot for their
property list while cons cells have their properties in a global hash
table.
However, we can keep the different implementations underneath fo
efficiency, and provide a unifyied interface to the user.
What do you think?
Of course, there would be a transition period where the old functions
like `procedure-properies' will continue to work.