[svn:perl6-synopsis] r9139 - doc/trunk/design/syn

2006-05-08 Thread larry
Author: larry Date: Mon May 8 17:26:05 2006 New Revision: 9139 Modified: doc/trunk/design/syn/S02.pod Log: Clarification of the 0,1,Inf parsing policy. Modified: doc/trunk/design/syn/S02.pod == --- doc/trunk/design/

[svn:perl6-synopsis] r9138 - doc/trunk/design/syn

2006-05-08 Thread larry
Author: larry Date: Mon May 8 16:50:55 2006 New Revision: 9138 Modified: doc/trunk/design/syn/S12.pod Log: Supplied missing specs for tiebreaking semantics of "longer" names. As a bonus, supplied conjectural syntax for return type tiebreaking. Modified: doc/trunk/design/syn/S12.pod

Re: Scans

2006-05-08 Thread Larry Wall
On Mon, May 08, 2006 at 05:30:23PM +0300, Gaal Yahas wrote: : We have a very nifty reduce metaoperator. Scans are a counterpart of : reduce that are very useful -- they are the (preferably lazy) list of : consecutive accumulated reductions up to the final result. But I can't : think of a convenient

Re: "normalized" hash-keys

2006-05-08 Thread Larry Wall
On Mon, May 08, 2006 at 12:34:26PM +0200, Dr.Ruud wrote: : What would be the way to define-or-set that a specific hash has : non-case-sensitive keys? Use a shaped hash with a key type that defines infix:<===> appropriately, since object hashes are based on infix:<===> rather than infix:. : Or bro

Re: W3C validator

2006-05-08 Thread Gabor Szabo
I checked it again, one can download the source code of their service from here http://validator.w3.org/source/ and it is even packaged in some of the linux distros. (It is of course slightly outdated on Debian) Someone might want to write a wrapper around it or maybe use WebService::Validator::

Re: W3C validator

2006-05-08 Thread A. Pagaltzis
* Andy Lester <[EMAIL PROTECTED]> [2006-05-08 18:00]: > Try my HTML::Tidy. It's based on libtidy. Speaking of which, any chance that’ll get a somewhat usable interface? Right now, parser options have to be written to a file and the function that actually cleans the HTML is just documented as “retu

Re: W3C validator

2006-05-08 Thread Andy Lester
On May 8, 2006, at 11:20 AM, A. Pagaltzis wrote: * Andy Lester <[EMAIL PROTECTED]> [2006-05-08 18:00]: Try my HTML::Tidy. It's based on libtidy. Speaking of which, any chance that’ll get a somewhat usable interface? Right now, parser options have to be written to a file and the function that

Re: "normalized" hash-keys

2006-05-08 Thread Ruud H.G. van Tol
TSa schreef: > Dr.Ruud: >> What would be the way to define-or-set that a specific hash has >> non-case-sensitive keys? > > There are two things in this: > (1) The syntax to type the keys of a hash---too bad that I forgot it > and currently don't find it in the Synopsyses. Pointers welcome!

[REPOST] [ANNOUNCE] Test::Group 0.02

2006-05-08 Thread Dominique Quatravaux
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dominique Quatravaux a écrit : > Dear perl-qa members, > > I am pleased to announce the first public release of Test::Group, a > handy module for grouping batches of tests together. Due to a hiccup in PAUSE this week-end, my upload is only appearing

Re: "normalized" hash-keys

2006-05-08 Thread Smylers
TSa writes: > Dr.Ruud wrote: > > > What would be the way to define-or-set that a specific hash has > > non-case-sensitive keys? > > (2) A way to constrain a string to be case insensitive. > > subset CaseInsensitive of Str where { .lc eq .uc } > > but it actually is a constraint on the &infi

Re: W3C validator

2006-05-08 Thread Andy Lester
On May 8, 2006, at 10:53 AM, Gabor Szabo wrote: I must be missing something but I don't understand why is there no module that would provide the W3C validation without hitting http://validator.w3.org and without the need to setup a similar web site? Try my HTML::Tidy. It's based on libtidy

W3C validator

2006-05-08 Thread Gabor Szabo
I must be missing something but I don't understand why is there no module that would provide the W3C validation without hitting http://validator.w3.org and without the need to setup a similar web site? WWW::CheckSite::Validator uses that web site WebService::Validator::HTML::W3C provides an inter

Re: "normalized" hash-keys

2006-05-08 Thread TSa
HaloO, Dr.Ruud wrote: What would be the way to define-or-set that a specific hash has non-case-sensitive keys? There are two things in this: (1) The syntax to type the keys of a hash---too bad that I forgot it and currently don't find it in the Synopsyses. Pointers welcome! (2) A way to

Re: Scans

2006-05-08 Thread Juerd
Gaal Yahas skribis 2006-05-08 17:58 (+0300): > (Is there special sugar to make @input be the last index when used in a > range, or did you mean ..^ ?) I meant @input.last, or probably @input.indices (or .keys?) instead of the entire range, and @input.first instead of the first 0. Juerd -- http:

Re: Scans

2006-05-08 Thread Gaal Yahas
On Mon, May 08, 2006 at 04:44:51PM +0200, Juerd wrote: > To make sure I understand what you mean, not as a proposed > implementation: > > my @input = (...); > my @scan = map { [op] @input[0..$_] } [EMAIL PROTECTED]; > > Is this what you mean? > > Hm, could that be written as: > > my

Re: RFC: Community Education Page --> perl.perl6.meta

2006-05-08 Thread Conrad Schneiker
David K Storrs wrote: Hmmm...This doesn't seem to have particularly grabbed the popular imagination among the Perl6 crowd. Well, I think it's the Perl5 crowd that is in much more need of having its imagination grabbed. :-) [big snip] Anyway, I very much like your ideas. (And Juerd's suggesti

Re: Scans

2006-05-08 Thread Juerd
Gaal Yahas skribis 2006-05-08 17:30 (+0300): > We have a very nifty reduce metaoperator. Scans are a counterpart of > reduce that are very useful -- they are the (preferably lazy) list of > consecutive accumulated reductions up to the final result. But I can't > think of a convenient way of express

Re: RFC: Community Education Page --> perl.perl6.meta

2006-05-08 Thread Conrad Schneiker
David K Storrs wrote: Hmmm...This doesn't seem to have particularly grabbed the popular imagination among the Perl6 crowd. Well, I think it's the Perl5 crowd that is in much more need of having its imagination grabbed. :-) [big snip] Anyway, I very much like your ideas. (And Juerd's suggesti

Scans

2006-05-08 Thread Gaal Yahas
We have a very nifty reduce metaoperator. Scans are a counterpart of reduce that are very useful -- they are the (preferably lazy) list of consecutive accumulated reductions up to the final result. But I can't think of a convenient way of expressing scans in Perl 6. I'm probably not thinking hard

Re: RFC: Community Education Page --> perl.perl6.meta

2006-05-08 Thread Conrad Schneiker
David K Storrs wrote: Hmmm...This doesn't seem to have particularly grabbed the popular imagination among the Perl6 crowd. Well, I think it's the Perl5 crowd that is in much more need of having its imagination grabbed. :-) [big snip] Anyway, I very much like your ideas. (And Juerd's suggesti

Parrot Bug Summary

2006-05-08 Thread Parrot Bug Summary
Parrot Bug Summary http://rt.perl.org/rt3/NoAuth/parrot/Overview.html Generated at Mon May 8 13:15:03 2006 GMT --- * Numbers * New Issues * Overview of Open Issues * Ticket Status By Version * Requestors with mo

Perl 6 User FAQ (perl.perl6.meta) -- Version: 2006-05-08 (early beta level at present)

2006-05-08 Thread Conrad Schneiker
Perl 6 User FAQ (perl.perl6.meta) Version: 2006-05-08 (early beta level at present) TABLE OF CONTENTS * About perl.perl6.meta (and this FAQ) * About Perl 6 # True marketing hype, in both senses. * General Perl 6 status # On the move! * Perl 6 info and docs #

"normalized" hash-keys

2006-05-08 Thread Dr.Ruud
What would be the way to define-or-set that a specific hash has non-case-sensitive keys? Or broader: that the keys should be normalized (think NFKC()) before usage? Would it be easy to "delegate it to the hash"? (or use a hardly noticeable wrapper) -- Affijn, Ruud "Gewoon is een tijger."