Squeak and Namespaces
Keith Hodges
keith_hodges at yahoo.co.uk
Thu Nov 30 02:33:42 UTC 2006
> No, this was not my idea. The compiler reduces the #>~ message symbol:
>
> (A >~ B) "results in"
> (Association key: #B value: B) "which is a component of A"
>
> For namespace maintenance:
>
> (A >~ B) moveToNamespace: C. "next line still refers to same B"
> (A >~ B) namespace shallowCopy moveToNamespace: D.
> (C >~ B) = (D >~ B) "true"
>
> /Klaus
So would it be possible to
a) remove the 'bug' which allows ':' in Class names, and
b) allow the binary operator shown above to be '::'?
#>~ seems rather naff #>> would make some sense to me but is used by
Integer for shifting, so I guess it would not be available.
cheers
Keith
___________________________________________________________
All new Yahoo! Mail "The new Interface is stunning in its simplicity and ease of use." - PC Magazine
http://uk.docs.yahoo.com/nowyoucan.html
More information about the Squeak-dev
mailing list
|