[Prev][Next][Index][Thread]
Re: Sealed as Source Annotation
"P T Withington" <ptw@callitrope.com> wrote in message
B594C2FC.849C%ptw@callitrope.com">news:B594C2FC.849C%ptw@callitrope.com...
> will not do any dispatching at all. Because classes and methods are
sealed
> by default, and the compiler knows y is a <foo> and it knows there is only
> one method for the generic function frob that applies to <foo>s, it can
> compile the generic function call directly into a call to the method.
Ahhh.
But this being the case, I assume that "categories" can be applied only to
"open" things right? If so, that basically removes the entire basis for
them, which is one of the most wonderful tools I've used in any language.
Maury
References: