From: ale@... Date: 2001-03-11T00:00:36+09:00 Subject: [ruby-talk:12381] Re: Math package On Sat, 10 Mar 2001, Yukihiro Matsumoto wrote: > Hi, > > In message "[ruby-talk:12339] Re: Math package" > on 01/03/10, GOTO Kentaro writes: > > |Matz, how about this specification for the built-in functions taking > |just one parameter: > > No. It won't help functions with two or more parameters. Someone presented a wild idea here not so long ago. IIRC he queried whether it would be useful to extend OO concepts to other direction than usually though. Namely having more than one receiver of a message. In this case a function with two parameter could still exhibit the natural OO order of syntax value = (y,x).atan2 instead of current one value = Math.atan2(y,x) I have no idea how this would/could be implemented on the definition, how multiple "self" would be identified and used and all the trouble this kind of extension brings with it. Nevertheless, while I doubt the idea was very original, it's surely interesting one. - Aleksi