3 ms·
Ah, I see what you are getting at. They seem related to me though. Open recursion requires calling the method from the final subtype rather than the current ty
by jamii 12y ago
Ah, I see what you are getting at.
They seem related to me though. Open recursion requires calling the method from the final subtype rather than the current type - `even` would have to call `this#odd` instead of `odd`. The core problem in both cases is not being able to refer to the final subtype in any way.
Hmmm, even if modules could refer to this final subtype you would probably have to choose between doing it via dynamic dispatch or sacrificing separate compilation, since the parent module doesn't know what method to dispatch to at the time of compilation.