[racket] Generics: implemented methods not inherited?
Good to know. I'll just be patient then!
On Fri, Sep 6, 2013 at 4:54 PM, Asumu Takikawa <asumu at ccs.neu.edu> wrote:
> On 2013-09-06 16:38:56 +0200, Laurent wrote:
> > Is there a way to inherit methods from a parent struct?
> > If I'm not mistaken, it's not what #:defaults and other keywords are
> for.
>
> This is currently not possible, which is a bug/limitation of generic
> interfaces and not a design feature.
>
> The issue is that the underlying struct property feature we use doesn't
> allow us to inspect the parent property value. We're thinking of ways to
> get around this (possibly by improving struct properties), but haven't
> implemented anything yet.
>
> Cheers,
> Asumu
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20130906/e71e5773/attachment-0001.html>