Perl6 Builtin Types?

2002-10-23 Thread Michael Lazzaro
Where is the most definitive list of known Perl6 (not Parrot) builtin types? The following have been specified/implied by the A/Es: scalar bit (== bool? == boolean?) num int str bigint bignum bitarray (maybe) ref rx (or regex,rule?) code classname Object arra

Re: perl6 operator precedence table

2002-10-23 Thread Larry Wall
On 20 Oct 2002, Smylers wrote: : However it means that the binary ops become: : : $a || $b # logical or : $a .| $b # bitwise or : $a && $b # logical and : $a .& $b # bitwise and : $a ! $b # logical xor : $a .! $b # bitwise xor : : That makes logical xor look a little inconsisten

Re: Perl6 Builtin Types?

2002-10-23 Thread Larry Wall
On Wed, 23 Oct 2002, Michael Lazzaro wrote: : Where is the most definitive list of known Perl6 (not Parrot) builtin : types? : : The following have been specified/implied by the A/Es: : : scalar : bit (== bool? == boolean?) We could always call them "umu", which

Re: Perl6 Builtin Types?

2002-10-23 Thread Nicholas Clark
On Wed, Oct 23, 2002 at 11:40:40AM -0700, Larry Wall wrote: > "returns" is synonymous with "of", mostly so we can use "returns" on > subroutines, because "of" sounds weird: > > my int sub foo () {...} > my sub foo () of int { ... } > my sub foo () returns int { ... } I read this and I

Re: perl6 operator precedence table

2002-10-23 Thread Luke Palmer
> Date: Wed, 23 Oct 2002 11:14:33 -0700 (PDT) > From: Larry Wall <[EMAIL PROTECTED]> > On top of which, Damian has expressed an interest in ! for a > superpositional xor. Which would behave how, exactly? Luke

[OT] Power of Lisp macros?

2002-10-23 Thread Adriano Nagelschmidt Rodrigues
Hi, Perl is my favorite language, and I'm eagerly following Perl 6 development. So I would like to ask this question here. Sorry if I'm being inconvenient... Do you think that Lisp macros make the language more powerful than others (eg Perl)? I mean, do they really give a competitive advantage, o

Re: perl6 operator precedence table

2002-10-23 Thread Miko O'Sullivan
> > On top of which, Damian has expressed an interest in ! for a > > superpositional xor. > > Which would behave how, exactly? ! the way people expect, I fear. -Miko

Re: [OT] Power of Lisp macros?

2002-10-23 Thread Luke Palmer
> Date: Wed, 23 Oct 2002 18:43:08 -0300 > From: Adriano Nagelschmidt Rodrigues <[EMAIL PROTECTED]> > > Hi, > > Perl is my favorite language, and I'm eagerly following Perl 6 > development. So I would like to ask this question here. Sorry if I'm > being inconvenient... > > Do you think that Lisp

Re: perl6 operator precedence table

2002-10-23 Thread Damian Conway
On top of which, Damian has expressed an interest in ! for a superpositional xor. Which would behave how, exactly? Well, that's still a matter for conjecture. N-ary xor isn't particularly useful, because binary xor naturally generalizes to: "an odd number of these N operands are true". (Hint:

RE: Perl6 Builtin Types?

2002-10-23 Thread Brent Dax
Nicholas Clark: # I read this and I think # # sub ... () of Borg { } sub ven () of Nine { ... } --Brent Dax <[EMAIL PROTECTED]> @roles=map {"Parrot $_"} qw(embedding regexen Configure) Wire telegraph is a kind of a very, very long cat. You pull his tail in New York and his head is meowing

RE: perl6 operator precedence table

2002-10-23 Thread Brent Dax
Larry Wall: # : > I also like the idea that ~ is entirely freed up for some other # : > nefarious use. # : # : Yeah; how'd that happen? Seems like not too long ago we # were short of # : punctuation symbols, and now you've got a spare one lying around. # # Pity there's no extra brackets lying a

Re: perl6 operator precedence table

2002-10-23 Thread Damian Conway
Brent Dax wrote: Can the new nefarious use be concat? Pretty please? There was a brief period 18 months ago when tilde *was* the designated Perl 6 concatenation operator. I certainly wouldn't mind seeing it return to that role, now that it's not needed elsewhere. And, of course, that would ac

Re: perl6 operator precedence table

2002-10-23 Thread Damian Conway
Adam D. Lopresto wrote: Really what I've been wishing for was an operator (or whatever) to let me do an s// without changing the variable. I would hope/expect that that's what the subroutine form of C would do. That is, it takes a string, a pattern, and a replacement string, and returns a new

Re: perl6 operator precedence table

2002-10-23 Thread Joseph F. Ryan
Damian Conway wrote: Adam D. Lopresto wrote: Really what I've been wishing for was an operator (or whatever) to let me do an s// without changing the variable. I would hope/expect that that's what the subroutine form of C would do. That is, it takes a string, a pattern, and a replacement s

Re: perl6 operator precedence table

2002-10-23 Thread Deborah Ariel Pickett
Damian wrote: > (b) the symmetry of: > Logical:&& || !! > Bitwise:.& .| .! > Superpositional: & | ! > is important...mnemonically, DWIMically, and aesthetically. When I