From: Florian Gross Date: 2004-09-17T21:19:46+09:00 Subject: Re: Automatic class conversion / function overloading trans. (T. Onoma) wrote: > Actually I'm more interested in overloading based on arity, rather > then class. I've done a simply library that allows overloading on anything that can be expressed as a lambda. It also does proper scoring so you can have an Array and Enumerable version of a method and the right one will get called. Of course there's not a big difference between this and the common case when construct except that having the dispatchers outside of the method lets you easily add new ones from the outside. I've pasted it to http://www.codepaste.org/view/paste/150 -- maybe it will be useful to you. Regards, Florian Gross