This is the mail archive of the guile@sourceware.cygnus.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]

Re: closures for GOOPS privates


Clark McGrew <mcgrew@ale.physics.sunysb.edu> writes:

> In some scheme object systems it's possible to use closures to
> associate private data with an object.  Is it possible to do this with
> GOOPS?  I haven't had much time to play with GOOPS it doesn't appear
> that it can be done. 

What is private data?

If "private" means data that only can be accessed by a certain group
of methods, then the most straightforward method to give them private
data is to put the data together with this dedicated group in one
module.

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