[Grace-core] Dialect Design Proposal

James Noble kjx at ecs.vuw.ac.nz
Thu Nov 29 02:16:31 PST 2012


(sending a series of messages in a random order)

On 29/11/2012, at 05:40 AM, Andrew P. Black wrote:

> Your answer was to wrap one more layer of object around everything just to make it inheritable.  I would like to avoid that.

well you can wrap a *method* around an object, and then inherit from that -
i.e. instead of doing

def A = object { ... }   

write

method A {object {...} }


J


More information about the Grace-core mailing list