Search   Feed   Browse   Add
Feed items 1 - 2 of 2 for July 2008

Re: Should C<grep> and C<reverse> work in C<Any> by Patrick R. Michaud - July 1, 2008

On Tue, Jul 01, 2008 at 05:36:26PM +0200, TSa wrote:> This would save lots of overloads in Any in favor of a handful of> standard coercions. These need proper anchorage in the dispatch> system, of course. That to me means we need some definition of> "conversion quality" and "conversion distance".So far in Rakudo we haven&39;t done any "overloads in Any" --what has happened instead is that the methods in question havesimply moved into the Any class and...
http://www.nntp.perl.org/group/perl.perl6.language/2008/07/msg29341.html

Re: Should C<grep> and C<reverse> work in C<Any> by TSa - July 1, 2008

HaloO,Larry Wall wrote:> On Mon, Jun 30, 2008 at 07:25:11AM -0500, Patrick R. Michaud wrote:> : I&39;m suspecting that the answer is "yes, they are universal",> : but wanted to confirm it.> > Confirmed. (Though note that Str.reverse probably overrides> Any.reverse, unless we give string reversal a different name.)Just a thought from my side: doesn&39;t it make sense to unify theconcept of numeric conversion as discussed recently and theuniversal methods in Any The...
http://www.nntp.perl.org/group/perl.perl6.language/2008/07/msg29340.html
Available Archives
- June (38 items)
- July (2 items)
Sponsored Links
© 2008 FeedCapsule.com  |  Contact