This is the mail archive of the guile@sources.redhat.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Unifying properties


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]