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

Re: how much detail can I get from caller.want?

Thread Previous | Thread Next
From:
TSa
Date:
September 1, 2008 08:58
Subject:
Re: how much detail can I get from caller.want?
Message ID:
48BC0FBC.7080100@vts-systems.de
HaloO,

John M. Dlugosz wrote:
> Perhaps the supplier of the CPAN module for the nth function could
> also include, besides the actual function, an optimization pattern
> plug-in that locates the idiom in the parse tree and replaces the
> expression with a call to nth.

Wouldn't a dispatch target postcircumfix:<[ ]>:(LazySortedList,Int)
suffice when the sort would return such a thing?


Regards, TSa.
-- 

"The unavoidable price of reliability is simplicity" -- C.A.R. Hoare
"Simplicity does not precede complexity, but follows it." -- A.J. Perlis
1 + 2 + 3 + 4 + ... = -1/12  -- Srinivasa Ramanujan

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About