Re: Another string concat proposal

2001-04-25 Thread Nicholas Clark

On Wed, Apr 25, 2001 at 11:53:33AM +0100, Dave Hartnoll wrote:
 What about using double-dot as the string concat operator:
 
 P5P6
 -.
 .  ..
 .=..=  (or =.. for concat after)

You have missed a row for what the P5 .. operator becomes.
And the ... operator

[I am neutral as to whether using .. as concatenation is a good idea]

Nicholas Clark



Re: Another string concat proposal

2001-04-25 Thread Dave Hartnoll

 On Wed, Apr 25, 2001 at 11:53:33AM +0100, Dave Hartnoll wrote:
  What about using double-dot as the string concat operator:
 
  P5P6
  -.
  .  ..
  .=..=  (or =.. for concat after)

 You have missed a row for what the P5 .. operator becomes.
 And the ... operator

 [I am neutral as to whether using .. as concatenation is a good idea]

 Nicholas Clark

That'll teach me to jump in without proper research. I had forgotten about
the .. range operator and I wasn't even aware of the ... variety (I am now).
I suppose it would be too cheeky to attempt to redeem myself by
suggesting - as a range operator? (I would have suggested - but that
introduces problems with it meaning the same as comma in some situations.)

P5P6
-.
.  ..
.=..=  (or =.. for concat after)
..-
...-

Another option I briefly considered for concat was   .+

Perhaps too many changes overall, but food for thought for those without
chronic indigestion already!

Dave Hartnoll.





Re: Another string concat proposal

2001-04-25 Thread Dave Hartnoll

I wrote..
 ..(I would have suggested - but that
 introduces problems with it meaning the same as comma in some situations.)

Ignore that. I'm getting confused with = sometimes meaning the same as
comma. I think I'll quit now before I dig myself any deeper :-)

Dave.