Re: eqv and comparing buts

2010-05-27 Thread Darren Duncan
Larry Wall wrote: Or going the other direction, perhaps we're missing a primitive that can produce a data structure with the type information stripped, and then eqv might be able to determine structural equivalence between two canonicalized values. Often you still want to know the declared type

Re: eqv and comparing buts

2010-05-27 Thread Jon Lang
Darren Duncan wrote: > Larry Wall wrote: >> >> Or going the other direction, perhaps we're missing a primitive that >> can produce a data structure with the type information stripped, and >> then eqv might be able to determine structural equivalence between >> two canonicalized values. > > Often yo

Re: eqv and comparing buts

2010-05-27 Thread Jon Lang
Jon Lang wrote: > Right.  Still, there are times when duck-typing, flawed as it is, > might be exactly what is needed to resolve the problem at hand.  I > forget who or in what context, but I vaguely recall someone posting an > article here that proposed the use of £ in signatures as a modifier to

r30878 -[S05] clarify :ratchet behavior with input from pmichaud++

2010-05-27 Thread pugs-commits
Author: sorear Date: 2010-05-28 02:10:37 +0200 (Fri, 28 May 2010) New Revision: 30878 Modified: docs/Perl6/Spec/S05-regex.pod Log: [S05] clarify :ratchet behavior with input from pmichaud++ Modified: docs/Perl6/Spec/S05-regex.pod ===

Re: Command-line args (weekly contribution to P6)

2010-05-27 Thread David Green
On 2010-05-26, at 8:52 am, Larry Wall wrote: > On Wed, May 26, 2010 at 07:22:36AM -0700, jerry gay wrote: > : On Wed, May 26, 2010 at 00:53, Moritz Lenz wrote: > : > sub MAIN(:name(:$n)) > : > then $n has two names, 'name' and 'n', and we could consider all > one-letter > : > parameter names as s