Y'all are getting hung up on the correspondence of "words" with "word
characters", but you're ignoring the fact that most of the time people
want to do awk's version of splitting, matching \S+ words rather than \w+
words (*neither* of which actually matches what people usually mean
by words, in any
Autrijus asked:
On Wed, Jun 15, 2005 at 05:37:18PM -0500, Patrick R. Michaud wrote:
Based on an off-list discussion, it turns out that unary C<=>
is not slurpy as mentioned in S04. The following patch to S04
corrects this; I've already applied the patch but thought I'd
pass it by p6l for revi
On Wed, Jun 15, 2005 at 05:37:18PM -0500, Patrick R. Michaud wrote:
> Based on an off-list discussion, it turns out that unary C<=>
> is not slurpy as mentioned in S04. The following patch to S04
> corrects this; I've already applied the patch but thought I'd
> pass it by p6l for review/comments/r
Based on an off-list discussion, it turns out that unary C<=>
is not slurpy as mentioned in S04. The following patch to S04
corrects this; I've already applied the patch but thought I'd
pass it by p6l for review/comments/reactions.
Pm
Index: S04.pod
==
On Jun 15, 2005, at 3:33 PM, Patrick R. Michaud wrote:
And here they are... this is just a draft -- feel free to flame/edit/
tear it apart liberally. These are also written assuming we don't
create a perl6-general list (but it shouldn't be hard to adapt them
should one be created).
Well, I'd
Ingo Blechschmidt skribis 2005-06-15 21:35 (+0200):
> So maybe we should allow words() (or however we'll end up calling it) to
> take an optional parameter specifying what's considered a wordchar,
> with a default of rx/\w+/:
Then isn't making \w+ the default for match much easier?
(Although I st
Hi,
Juerd wrote:
> Ingo Blechschmidt skribis 2005-06-15 20:18 (+0200):
>> >> say join ",", @words; # "hi,my,name,is,ingo";
>> > Following the logic that .words returns the words, the words are no
>> > longer individual words when joined on comma instead of
>> > whitespace...
>> sorry, I do
On Tue, Jun 14, 2005 at 10:04:34AM -0500, Patrick R. Michaud wrote:
>
> Perhaps what we need is updated descriptions of the various mailing
> lists on perl.org (http://dev.perl.org/perl6/lists/)? I'll draft
> some proposed changes to that page.
And here they are... this is just a draft -- feel
Ingo Blechschmidt skribis 2005-06-15 20:18 (+0200):
> >> say join ",", @words; # "hi,my,name,is,ingo";
> > Following the logic that .words returns the words, the words are no
> > longer individual words when joined on comma instead of whitespace...
> sorry, I don't quite get that.
"foo
Hi,
Juerd wrote:
> Ingo Blechschmidt skribis 2005-06-15 19:14 (+0200):
>> as Larry mentioned in another thread that he wants a "different
>> notation for word splitting"
>> (http://www.nntp.perl.org/group/perl.perl6.language/21874),
>> how about that, similar to Haskell's "words" function:
>
> "w
Ingo Blechschmidt skribis 2005-06-15 19:14 (+0200):
> as Larry mentioned in another thread that he wants a "different
> notation for word splitting"
> (http://www.nntp.perl.org/group/perl.perl6.language/21874),
> how about that, similar to Haskell's "words" function:
"words" is wrong for something
Hi,
as Larry mentioned in another thread that he wants a "different notation
for word
splitting" (http://www.nntp.perl.org/group/perl.perl6.language/21874),
how about that, similar to Haskell's "words" function:
# Str::words should return a list of words, without whitespace.
my $str = "
Hi Michele,
Where should I ask, that what's PGE means? Yes, I know, it's Parrot
Grammar Engine, and I know what it is, but a beginnner maybe not. And
I think that
Which makes me think that first or later it may be worth to start a FAQ
for questions like these even if they're not frequently a
Hi,
Carl Franks wrote:
: alias newlines, newline;
Isn't it possible to add a Role to the relevant Class, which specifies
that is 'handles' the method name you want as an alias?
If it's possible, it would be fine for me in this particular case. Is it
possible?
Anyway, IMHO this alias fun
Not really, except insofar as we've talked about compact classes of
native types working like C structs. There are lots of nitty things
we can fix with pack/unpack, but the basic underlying problem is
that pack/unpack are defined operationally rather than declaratively.
I think it's worth takin
On Tue, 14 Jun 2005, [iso-8859-2] BÁRTHÁZI András wrote:
Where should I ask, that what's PGE means? Yes, I know, it's Parrot Grammar
Engine, and I know what it is, but a beginnner maybe not. And I think that
Which makes me think that first or later it may be worth to start a FAQ
for questions
> : alias newlines, newline;
Isn't it possible to add a Role to the relevant Class, which specifies
that is 'handles' the method name you want as an alias?
Carl
17 matches
Mail list logo