From: MikkelFJ Date: 2002-10-22T05:14:42+09:00 Subject: Re: Duck patterns in Ruby "Simon Strandgaard" <0bz63fz3m1qt3001@sneakemail.com> wrote in message news:20021021094724.08fbbc13.0bz63fz3m1qt3001@sneakemail.com... > Yes, this is pattern-matching ala Standard ML, this is realy nice ;-) > also know as multimethods, double dispatch, visitor. > > > [snip] > > What are your question ? > do you want multimethods ? I neither want or do not want multimethods. It was just an idea I wanted to share. I though it was original because I haven't seen any kind of pattern matching working on supported methods before. I don't think this is the same as multimethods - one reason being that the technology is not assocatiated with formal function arguments - although it could be used there as well. Mikkel