Re: S28ish [was: [Pugs] A couple of string interpolation edge cases]

2005-04-03 Thread Rod Adams
Larry Wall wrote:
On Thu, Mar 31, 2005 at 03:03:09PM +0200, Thomas Sandlaß wrote:
: BTW, will bidirectionality be supported? Does it make sense to reflect
: it in the StrPos type such that $pos_start  $pos_end means a non-empty
: left to right string, $pos_start  $pos_end is a non-empty right to left
: string and $pos_start == $pos_end delimit an empty (sub)string? As a
: natural consequence the sign indicates direction with negative length
: beeing right to left.  And that leads to two times two types of iterators:
: left to right, right to left, start to end and end to start.
Offhand I'd rather have end  start be undefined, I think, but I
suppose we could give it a meaning if it turns out not to be an
easily generated degenerate case like 0..-1.  On the other hand,
I think right-to-left might deserve more Huffman visibility than an
itty-bitty sign that might be hidden down in a varible.
But then, we've played games with signs in substr and splice before.
It's not clear that people would want substr($x, -3) to return the
characters in reversed order, though.
I don't see how rtl vs ltr changes how we process strings. It's purely a 
display problem. I seriously doubt the someone working with a rtl 
language would ever wish to count the characters ltr. And note that we 
are calling the positions start and end, not left and right.

If I'm missing something basic here, let me know.
-- Rod Adams


design docs on dev.perl.org -- Re: + or +

2005-04-03 Thread Robert Spier
 The definitive answer is + -- the pod document at 
 http://dev.perl.org/perl6/synopsis/S03.html is out of date.
 This has been corrected in the perl6 svn repository for some time
 (http://svn.perl.org/perl6/doc/trunk/design/syn/S03.pod), but I don't
 know the magic for getting updates in the svn repository reflected
 on the website.

I've created some new magic so that the svn repository and the site
are now tied together.  The site pulls from the svn repo daily at
around 3am Pacific time.

-R


Re: Apocalypse docs cvs/svn?

2005-04-03 Thread Nicholas Clark
On Sat, Apr 02, 2005 at 11:57:44PM +0200, Steven Schubiger wrote:
 
 I've found a subtle spelling error in A03.html alias
 Apocalypse 3: Operators, kept at dev.perl.org.
 
 As I couldn't find neither an according cvs nor svn, 

http://svn.perl.org/perl6/doc/trunk/design

 I'm wondering, where the patch should go to.

perl6-language@perl.org

Nicholas Clark


Re: Definitive and Complete Perl 6 Operator List

2005-04-03 Thread Randal L. Schwartz
 Larry == Larry Wall [EMAIL PROTECTED] writes:

Larry The shifts are all X rather than X to avoid confusion with Texas 
Quotes.

I've been staring too much at POD lately.  I saw both of those as very
broken pod-start marks. :)

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
merlyn@stonehenge.com URL:http://www.stonehenge.com/merlyn/
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!