Re: Sort of "do it once" feature request...

2005-09-26 Thread Juerd
TSa skribis 2005-09-26 20:32 (+0200): > Does someone consider this 'inner boolean state' and the 'magical > auto-increment algorithm if the operands are strings' of the Perl5 > range op a feature worth preserving? Yes, many someones do. Juerd -- http://convolution.nl/maak_juerd_blij.html http:/

Re: Sort of "do it once" feature request...

2005-09-26 Thread TSa
HaloO, Juerd wrote: TSa skribis 2005-09-26 19:39 (+0200): Sorry, I'm totally out of scope to what 'the flipflop operator' is. Could you be so kind to give some hints. Thanks in advance. http://perldoc.perl.org/perlop.html#Range-Operators Thanks. I'm glad that 1..Inf these days is just a l

Re: Sort of "do it once" feature request...

2005-09-26 Thread Juerd
TSa skribis 2005-09-26 19:39 (+0200): > Sorry, I'm totally out of scope to what 'the flipflop operator' is. > Could you be so kind to give some hints. Thanks in advance. http://perldoc.perl.org/perlop.html#Range-Operators Juerd -- http://convolution.nl/maak_juerd_blij.html http://convolution.nl

Re: Sort of "do it once" feature request...

2005-09-26 Thread TSa
HaloO, Larry Wall wrote: ... though we haven't decided what to call the flipflop operator. Sorry, I'm totally out of scope to what 'the flipflop operator' is. Could you be so kind to give some hints. Thanks in advance. if state $s ?? $s = falsify() !! $s = truify() && !falsify() {...}

Re: Sort of "do it once" feature request...

2005-09-26 Thread Larry Wall
On Mon, Sep 26, 2005 at 05:42:31PM +0200, Juerd wrote: : Piers Cawley skribis 2005-09-26 16:34 (+0100): : > And you've done it again. What you ask for is already there. See below. : > next if (($_ ne 'boo')..undef) : > if 0..MAX { push @buffer, $_; next } : : IIRC, flip flop will not retu

Re: Sort of "do it once" feature request...

2005-09-26 Thread Juerd
Piers Cawley skribis 2005-09-26 16:34 (+0100): > And you've done it again. What you ask for is already there. See below. > next if (($_ ne 'boo')..undef) > if 0..MAX { push @buffer, $_; next } IIRC, flip flop will not return as the ".." operator. Also, the global state of syntactic flip f

Re: Sort of "do it once" feature request...

2005-09-26 Thread Piers Cawley
Michele Dondi <[EMAIL PROTECTED]> writes: > Every time I've desired a feature for Perl6 it has turned out that either it > was already planned to be there or I have been given good resons why it would > have been better not be there. And you've done it again. What you ask for is already there. Se

Re: Sort of "do it once" feature request...

2005-09-22 Thread Austin Hastings
Michele Dondi wrote: > On Wed, 21 Sep 2005, Joshua Gatcomb wrote: > >> Cheers, >> Joshua Gatcomb >> a.k.a. Limbic~Region > > > Oops... I hadn't noticed that you ARE L~R... > In the tradition of i18n, etc., I had assumed that L~R was shorthand for Luke Palmer. You may want to keep up the old tradi

Re: Sort of "do it once" feature request...

2005-09-22 Thread Michele Dondi
On Wed, 21 Sep 2005, Joshua Gatcomb wrote: Cheers, Joshua Gatcomb a.k.a. Limbic~Region Oops... I hadn't noticed that you ARE L~R... Michele -- Your ideas about Cantorian set theory being awful suffer from the serious defect of having no mathematical content. - Torkel Franzen in sci.math, "

Re: Sort of "do it once" feature request...

2005-09-22 Thread Michele Dondi
On Wed, 21 Sep 2005, Joshua Gatcomb wrote: I have mocked up an example of how you could do this in p5 with some ugly looking code: You may be interested to know that this has had an echo at http://www.perlmonks.org/index.pl?node_id=493826 mostly misunderstood in the replies, IMHO. Basically

Re: Sort of "do it once" feature request...

2005-09-21 Thread Joshua Gatcomb
On 9/21/05, Michele Dondi <[EMAIL PROTECTED]> wrote: > > Letting aside the fact that in the 99% of times they're plainly > reinventing the wheel of glob() a.k.a. File::Glob, there are indeed > situations in which one may have stuff like > > for (@foo) { > next if $_ eq 'boo'; > # do something usefu

Sort of "do it once" feature request...

2005-09-21 Thread Michele Dondi
Every time I've desired a feature for Perl6 it has turned out that either it was already planned to be there or I have been given good resons why it would have been better not be there. Now in Perl(5) {forum,newsgroup}s you can often see people doing stuff like my @files=grep !/^\.{1,2}/,