[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: protected fields in v200?

At Wed, 20 Mar 2002 15:29:48 -0500 (EST), Doug Orleans wrote:
> Is there a way to make "protected" fields using MzLib's class.ss
> module in v200?  That is, a field that is not public (can't be
> accessed with class-field-accessor) but can be accessed by subclasses?
> It looks like there isn't

That's correct; there's currently no support for "protected".

It would be easy to add, but I wonder whether it's useful. The
`define-local-member-name' form already lets a programmer manage names
with lexical scope. Any opinions?