>> 
> 
> Private names in basically the same form as have been accepted for
> ES.next are available in Racket [1], with the equivalent of the
> 'private x;' syntax that we proposed but didn't make the cut.  I
> believe that the system in Racket was one of the inspirations for
> Dave's original private name proposal long long ago.
> 
> [1] 
> http://pre.racket-lang.org/docs/html/reference/createclass.html?q=define-local#%28form._%28%28lib._racket/private/class-internal..rkt%29._define-local-member-name%29%29
> -- 
> sam th
> [email protected]
> 

also see Smalltalk selector namespaces 
http://www.smalltalksystems.com/publications/subsys.pdf which have also been 
proposed for Ruby http://www.sapphire-lang.org/wiki/1/Selector_namespaces 

Because Smalltalk selectors  selectors (ie, names) can operationally be any 
object, sometimes newly instantiated objects are used when a guaranteed unique 
method selector is needed for system purposes.

Allen

_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to