[Grace-core] How to Program in Grace
Andrew P. Black
black at cs.pdx.edu
Wed Nov 21 17:13:08 PST 2012
On 21 Nov 2012, at 17:05 , Kim Bruce wrote:
> If all objects inherit a shallow clone method, could you not have used that in your inherits example? (I'm not sure that is currently in the implementation, but it is certainly what we intend to have there eventually).
Yes, I could. I even tried writing superobject.copy and superobject.clone, but the compiler said that there was no such method. What I really want to say, though, is "include methods from this object". That doesn't seem so un-graceful.
Andrew
More information about the Grace-core
mailing list