develooper Front page | perl.perl6.language | Postings from July 2008

Re: Should C<grep> and C<reverse> work in C<Any> ?

Thread Previous | Thread Next
From:
Patrick R. Michaud
Date:
July 1, 2008 11:25
Subject:
Re: Should C<grep> and C<reverse> work in C<Any> ?
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't done any "overloads in Any" --
what has happened instead is that the methods in question have
simply moved into the Any class and out of whatever class they
were in previously.

Pm

Thread Previous | Thread Next


Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About