Re: A3: hyper operators with operand of different size

2001-10-05 Thread Damian Conway
Stéphane writes: Hyper operators with operands of different size are partly covered in A3: Hyper operators will also intuit where a dimension is missing from one of its arguments, and replicate a scalar value to a list value in that dimension. That means you can

Re: Hyper concat ^_ ?

2001-10-05 Thread Michael G Schwern
On Fri, Oct 05, 2001 at 09:50:53AM +0100, Richard Nuttall wrote: my @images = qw( pic1 pic2 pic3) ^_ ('.jpg'); my @images = map { $_ _ '.jpg' } qw(pic1 pic2 pic3); Hmmm, that's visually unappealing. Just thinking out loud. -- Michael G. Schwern [EMAIL PROTECTED]

Re: General Feelings on Apoc 3

2001-10-05 Thread raptor
I think this would be interesting for U :) http://www.cs.yorku.ca/Courses/3401/lectures/340198-11-27HTML/ http://www.cogs.susx.ac.uk/local/books/nlp-in-prolog/ch04/chapter-04-sh-1.5. html#sh-1.5 | On Thu, 4 Oct 2001, Michael G Schwern wrote: | | Backtracking is at the heart of Logic

:= The bind

2001-10-05 Thread raptor
Is the following correct for := : left side is like function in the respect that the right side is treated differently depending on the left-side-types i.e. left side is like prototype!! for the right side. (@a ,@b) := (@b,@a) is the same as : (\@a, \@b) = (\@b, \@a);#if we had ref-allowed on

Re: General Feelings on Apoc 3

2001-10-05 Thread Ted Ashton
Thus it was written in the epistle of David Nicol, Michael G Schwern wrote: Binary ; This worries me. Giving ; two meanings makes basic language parsing harder, which would be fine if there was a big payoff, but there's not. Just making shorthand for [[1,2,3],[4,5,6]] doesn't seem

General Feelings on Exegesis 3

2001-10-05 Thread Garrett Goebel
Thank you. For those who aren't yet busy reading, you can find it at: http://www.perl.com/pub/a/2001/10/03/exegesis3.html

RE: Exegesis 3 Question

2001-10-05 Thread Brent Dax
David M. Lloyd: # On Fri, 5 Oct 2001, Garrett Goebel wrote: # # For those who aren't yet busy reading, you can find it at: # http://www.perl.com/pub/a/2001/10/03/exegesis3.html # # OK, I have a question. # # On page 3 you say: # # Because the Perl 6 diamond operator can take an arbitrary #

Another Exegesis 3 Question

2001-10-05 Thread David M. Lloyd
When you say Unary here: Binary (low) | Binary (high) |Unary __|___|_ | | or | || | |

Re: sloppy midrash 3

2001-10-05 Thread David Nicol
Damian Conway wrote: David Nicol wrote: Hear ye, hear ye, Ming of Mongo has declared! I really hope I'm just missing the implicit smiley there. What you're missing is me wracking my memory to remember what Dr. Zharkov called his tunneling craft that the hyperbinding operator

Re: General Feelings on Exegesis 3

2001-10-05 Thread Mark J. Reed
Well, my head is definitely spinning. :) Thanks, Damian. One oversight (on one of our parts - you either didn't put it in or I didn't see it. :)): it looks like the example uses the new ; operator (between the mandatory and option arguments in the function declaration?), but it's not mentioned

Are .key and .value right for Pairs?

2001-10-05 Thread Sam Tregar
Can I get a .car and a .cdr please? In my limited mind key and value are specific to hashes and their wimpy brother associative lists. -sam Can I get a what what?

Re: := The bind

2001-10-05 Thread Damian Conway
Is the following correct for := : left side is like function in the respect that the right side is treated differently depending on the left-side-types i.e. left side is like prototype!! for the right side. Yep. (@a ,@b) := (@b,@a) is the same as : (\@a,

Re: Hyper concat ^_ ?

2001-10-05 Thread Damian Conway
my @images = qw( pic1 pic2 pic3) ^_ ('.jpg'); Doesn't that clash with the default currying argument? No. The DCA is: $^_ Damian

Re: General Feelings on Exegesis 3

2001-10-05 Thread Damian Conway
Well, my head is definitely spinning. :) Thanks, Damian. Just doing my job, Citizen. ;-) One oversight (on one of our parts - you either didn't put it in or I didn't see it. :)): it looks like the example uses the new ; operator (between the mandatory and option arguments

Re: Are .key and .value right for Pairs?

2001-10-05 Thread Damian Conway
Can I get a .car and a .cdr please? In my limited mind key and value are specific to hashes and their wimpy brother associative lists. Sure. Roll-you-own with: module PAIR; method car { return .key } method cdr { return .value } or, if you're really