[Grace-core] Class syntax and type parameters

Michael Homer mwh at ecs.vuw.ac.nz
Thu Nov 13 11:15:21 PST 2014


On 14 Nov 2014 08:08, "Michael Homer" <mwh at ecs.vuw.ac.nz> wrote:
> (Or, change the language).
Alternatively, the existing inheritance system was designed to allow
delegation through inheriting from a method returning a suitable delegating
fresh object, which avoids the whole issue. Nobody seems keen on that part,
but it does enable what you want at that point. There can be a whole
library of methods to create the right objects without affecting the public
interfaces to cram it in at all.

It doesn't help with parameterised traits, though.
-Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailhost.cecs.pdx.edu/pipermail/grace-core/attachments/20141114/3b72adf8/attachment.html>


More information about the Grace-core mailing list