Re: not 4,3,2,1,0;

2005-05-17 Thread Autrijus Tang
On Mon, May 16, 2005 at 04:06:15PM -0700, Larry Wall wrote: That's sub not (*args is context(Scalar)) or whatever we end up calling the Any/Scalar type. How about is context(Item) versus is context(Slurpy). :) Also, shouldn't the *args there be [EMAIL PROTECTED] Is it really okay to

Re: not 4,3,2,1,0;

2005-05-17 Thread Larry Wall
On Tue, May 17, 2005 at 02:42:43PM +0800, Autrijus Tang wrote: : On Mon, May 16, 2005 at 04:06:15PM -0700, Larry Wall wrote: : That's : : sub not (*args is context(Scalar)) : : or whatever we end up calling the Any/Scalar type. : : How about is context(Item) versus is context(Slurpy).

Re: not 4,3,2,1,0;

2005-05-17 Thread Juerd
Larry Wall skribis 2005-05-17 1:24 (-0700): : How about is context(Item) versus is context(Slurpy). :) I've been kind of leaning towards Item lately for the Any type, but the other one could just be whatever we end up calling lazy lists, which is probably not Slurpy. Well, slurping and steam

Re: not 4,3,2,1,0;

2005-05-16 Thread Larry Wall
On Tue, May 17, 2005 at 01:48:20AM +0800, Autrijus Tang wrote: : This evaluates to 1 in Perl 5: : : not 4,3,2,1,0; : : Namely, the not listOp is taking the last of a variadic, non-slurpy : argument list, boolify it, and return its negation. : : What is the Perl 6 signature that correspond

Re: not 4,3,2,1,0;

2005-05-16 Thread Autrijus Tang
On Mon, May 16, 2005 at 12:49:13PM -0700, Larry Wall wrote: On Tue, May 17, 2005 at 01:48:20AM +0800, Autrijus Tang wrote: : This evaluates to 1 in Perl 5: : : not 4,3,2,1,0; : : Namely, the not listOp is taking the last of a variadic, non-slurpy : argument list, boolify

Re: not 4,3,2,1,0;

2005-05-16 Thread Larry Wall
On Tue, May 17, 2005 at 05:32:27AM +0800, Autrijus Tang wrote: : Ok, but I'm still not too sure about what signature will Perl 6's not : have, that can impose singular context on each of its argument (so that : not(@foo) won't flatten), but still accept an unlimited number of : arguments. It's