On 2010.05.25., at 22:57, Charles Oliver Nutter wrote:

> On Tue, May 18, 2010 at 4:44 PM, Rémi Forax <fo...@univ-mlv.fr> wrote:
>> 
>> [...]
>> 
>>> One important question for me is how multi-method interfaces would be
>>> handled. I had originally tried to use Scala's "Function" interfaces
>>> in Duby to represent closures, but they all have multiple abstract
>>> methods that must be handled completely differently. I'd need to
>>> provide my own superclass with default behavior or have a way to
>>> stitch together N handles for N abstract methods.
>>> 
>> 
>> You can construct a tree of method handles,
>> like Attila's code does.
> 
> I'm not sure I understand how this would tie into implementing an
> interface or abstract superclass with many methods...can you
> elaborate?

Honestly, I can't work out either what's Rémi referring to :-)

Attila.
_______________________________________________
mlvm-dev mailing list
mlvm-dev@openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev

Reply via email to