Re: Perl6 perlplexities [was: Re: $1 change issues...]

2005-11-07 Thread Andrew Rodland
On Monday 07 November 2005 09:26 am, Rob Kinyon wrote: On 11/7/05, Michele Dondi [EMAIL PROTECTED] wrote: On Fri, 4 Nov 2005, Rob Kinyon wrote: So, for a bit of extra complexity, I get peace of mind for myself and my users. The point being, and I'm stressing it once again but no more

Re: Perl6 perlplexities [was: Re: $1 change issues...]

2005-11-07 Thread Andrew Rodland
On Monday 07 November 2005 03:51 pm, Juerd wrote: Andrew Rodland skribis 2005-11-07 13:30 (-0500): If you want to get into personal beliefs, I think that function signatures are such a complexity quagmire -- and that they're line-noise ugly to boot. The nice thing about signatures

Re: Can a scalar be lazy ?

2005-08-22 Thread Andrew Rodland
On Monday 22 August 2005 04:25 pm, Larry Wall wrote: On Tue, Aug 23, 2005 at 04:09:29AM +0800, Yiyi Hu wrote: [stuff] : Even if making scalar lazy might cause problem sometimes, Is it : possible to add a property which is like : my $var is lazy; to handle these situation? In Perl 6 you make

Re: reduce metaoperator on an empty list

2005-05-19 Thread Andrew Rodland
On Thursday 19 May 2005 10:51 pm, Sam Vilain wrote: Edward Cherlin wrote: Here is the last answer from Ken Iverson, who invented reduce in the 1950s, and died recently. file:///usr/share/j504/system/extras/help/dictionary/intro28.htm [snip] Thanks for bringing in a little history to

Re: Whither use English?

2005-04-12 Thread Andrew Rodland
On Tuesday 12 April 2005 07:42 am, David Cantrell wrote: On Mon, Apr 11, 2005 at 03:42:25PM -0400, Aaron Sherman wrote: I'm not even sure I like the *possibility* of using non-ascii letters in identifiers, even. I think we already have Latin-1 in identifiers... more's the pity.

Re: Second use of flattening

2005-04-04 Thread Andrew Rodland
On Monday 04 April 2005 06:34 pm, Juerd wrote: Terrence Brannon skribis 2005-04-04 18:45 (+): So, to avoid confusion with the common understanding of flattening in Perl, perhaps it should be called spreading or distributing. I agree. Likewise, slurping is probably best explained as

Re: Units on numbers [was Re: S28ish]

2005-03-28 Thread Andrew Rodland
On Monday 28 March 2005 05:48 pm, Craig DeForest wrote: The problem with using the units(1) database is that it only deals with multiplicative relations -- so, e.g., it won't handle temperature. [EMAIL PROTECTED]:~$ units 2084 units, 71 prefixes, 32 nonlinear units Among those nonlinear units

Re: A..Z alternatives

2004-09-21 Thread Andrew Rodland
On Tuesday 21 September 2004 07:18 pm, Thomas A. Boyer wrote: Larry Wall wrote: Somebody needs to talk me out of using A..Z for the simple cases. Larry [ for array dimension placeholder ] That might confuse users of languages that were not C-syntax-influenced, who think that '**' means

Re: push with lazy lists

2004-07-15 Thread Andrew Rodland
On Wednesday 14 July 2004 12:58 pm, Brent 'Dax' Royal-Gordon wrote: Andrew Rodland wrote: So if we have @x = [1, 3, 5, 6 .. 9, 10 .. Inf, 42]; ... 42 is just one number, so questions of indexing it are moot, but its distance from the left is Inf. So, there's no way to access the 42

Re: push with lazy lists

2004-07-14 Thread Andrew Rodland
]; # 10 $a = $x[-1];#42 $a = $x[Inf]; # No thanks $a = $x[-2];# Inf $a = pop @x;# $a = 42; @x = [ 6 .. 9, 10 .. Inf ] repeat { $a = pop @x; } until $a != Inf; # Heat death --Andrew Rodland [EMAIL PROTECTED]

Re: C style conditional statements

2004-05-11 Thread Andrew Rodland
On Tuesday 11 May 2004 08:00 pm, Pedro Larroy wrote: Hi Is there any chance that in perl6 there will be the possibility to write if/else statements without {}s with the condition at the beginning? Like if (condition) statement; In order not to break traditional C culture. Is there

Re: C style conditional statements

2004-05-11 Thread Andrew Rodland
On Tuesday 11 May 2004 10:13 pm, Larry Wall wrote: On Tue, May 11, 2004 at 08:31:55PM -0400, Andrew Rodland wrote: : On Tuesday 11 May 2004 08:00 pm, Pedro Larroy wrote: : Hi : : Is there any chance that in perl6 there will be the possibility to : write if/else statements without {}s

Re: Arrays: Default Values

2003-01-30 Thread Andrew Rodland
On Wednesday 29 January 2003 09:52 pm, Rick Delaney wrote: On Wed, Jan 29, 2003 at 01:54:10PM -0800, Michael Lazzaro wrote: On Wednesday, January 29, 2003, at 12:38 PM, Smylers wrote: That would make the rule very simple indeed: Assigning Cundef to an array element causes that

Re: Arrays: Default Values

2003-01-30 Thread Andrew Rodland
On Thursday 30 January 2003 06:49 pm, Andrew Rodland wrote: On Wednesday 29 January 2003 09:52 pm, Rick Delaney wrote: On Wed, Jan 29, 2003 at 01:54:10PM -0800, Michael Lazzaro wrote: On Wednesday, January 29, 2003, at 12:38 PM, Smylers wrote: I'd also like to point out that ruby has

Re: Compiling to Parrot

2003-01-21 Thread Andrew Rodland
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tuesday 21 January 2003 07:16 am, Simon Wistow wrote: On Tue, Jan 21, 2003 at 12:14:29PM +0100, K Stol said: LUA seems to be a very nice language, but how is this language to be used? Is it in combination with a C program one would write? Or

Re: L2R/R2L syntax (was Re: Everything is an object.)

2003-01-10 Thread Andrew Rodland
On Friday 10 January 2003 11:42 am, Paul Johnson wrote: Damian Conway said: Andy Wardley wrote: The arrow is a special case. I don't read that first character as '-', I think of the operator as one. I guess the visual cue forces me to see it like that. I'm suggesting that ~ and ~

Re: L2R/R2L syntax (was Re: Everything is an object.)

2003-01-09 Thread Andrew Rodland
On Thursday 09 January 2003 01:01 pm, Thom Boyer wrote: If you read ~ and ~ as stuff this thingy into that doohicky, assignment makes perfect sense. They are plumbing connectors: sometimes they connect the water softener to the water heater (one device to another), and sometimes they connect

Re: Indeterminate math

2002-10-14 Thread Andrew Rodland
On Monday 14 October 2002 20:20, [EMAIL PROTECTED] wrote: Are Inf and NaN going to be standard in Perl 6? As long as we're traveling down that road, how about i (the square root of -1), or Lukasiwiscean Null? (Sorry if I sound sarcastic, I'm actually honestly curious.) After much fighting

Re: Regex query

2002-09-23 Thread Andrew Rodland
On Sat, 21 Sep 2002 16:33:31 -0600 (MDT), Luke Palmer said: You know, the idea that square brackets are the only things that can make lists is starting to really appeal to me. Similar for squiggles and hashes. I don't know how many times in my early Perl5 days I did this: Since we now