perl6-all@perl.org

2005-09-07 Thread Luke Palmer
On 9/8/05, Damian Conway <[EMAIL PROTECTED]> wrote: > Luke wrote: > > > Okay, fair enough. The reason that I thought it was surprising is > > because 1 and 2 are usually orthogonal patterns. > > It depends what they're doing. Matched against a regex like /[12]/ they're > not orthogonal either.

perl6-all@perl.org

2005-09-07 Thread Damian Conway
Luke wrote: > Okay, fair enough. The reason that I thought it was surprising is > because 1 and 2 are usually orthogonal patterns. It depends what they're doing. Matched against a regex like /[12]/ they're not orthogonal either. >> > Junctions are logical travesty, >> >>Well, that's very emot

[PATCH] Re: [perl #37082] [BUG] Parrot HEAD failing on MacOS Tiger

2005-09-07 Thread Andy Dougherty
On Tue, 6 Sep 2005, Andy Dougherty wrote: > On Tue, 6 Sep 2005, Nicholas Clark wrote: > > > On Tue, Sep 06, 2005 at 10:15:26AM -0700, Bernhard Schmalhofer via RT wrote: > > > > > Too bad. As I reached the end of intuitive bug fixing, I am now skipping > > > 'examples/japh/japh13.pasm' in 't/exam

perl6-all@perl.org

2005-09-07 Thread Thomas Sandlass
HaloO, Luke wrote: > I just proved that < is not transitive. > > I can do that for every boolean operator that Perl has. They no > longer have any general properties, so you can't write code based on > assumptions that they do. In particular, testing whether all > elements in a list are equal g

Re: Packages, Modules and Classes

2005-09-07 Thread Stevan Little
Larry, On Sep 7, 2005, at 12:45 PM, Larry Wall wrote: : >All sigils and twigils are part of the key to the symbol table, so it's : >now just : > : >Foo<$.baz> : : What would Foo<$.baz> return though (assuming Foo is a class)? It : cannot return a value since it is an instance specific value

perl6-all@perl.org

2005-09-07 Thread Luke Palmer
On 9/7/05, Brent 'Dax' Royal-Gordon <[EMAIL PROTECTED]> wrote: > Here's a Real Live Perl 6 module I wrote recently. I've omitted a few > magic portions of the code for clarity. Thanks for real live perl 6 code. It's always nice to have real examples. However, I'm arguing for logical stability w

Re: [PATCH] docs - spelling, markup and whitespace fixes

2005-09-07 Thread Bernhard Schmalhofer
Joshua Hoblitt schrieb: I've tried submitting this patch to RT twice now without any success so I'm resorting to sending it directly to the mailing list. -J Hi, thanks a lot for your patch. I also think that the problem with RT were because of the size of the attachment. TNX, Bernhard

perl6-all@perl.org

2005-09-07 Thread Brent 'Dax' Royal-Gordon
On 9/7/05, Luke Palmer <[EMAIL PROTECTED]> wrote: > And this is based on lexical expansion. Which is cool. In fact, once > upon a time I was going to propose that junctions are a purely lexical > entity, expanded into greps and whatnot by the compiler; that you > can't ever stick them in variable

Re: \(...)?

2005-09-07 Thread Juerd
Ingo Blechschmidt skribis 2005-09-06 21:24 (+0200): > > \(@array,) is [ @array ], NOT map { \$_ } @array > I'm not sure of the []s, remember &postcirumfix:<[ ]> creates *new* > containers: That was the point. > [EMAIL PROTECTED] = $bar; > (@array,)[0] = $bar; AFAIK, these are the same th

Re: Proposal: split ternary ?? :: into binary ?? and //

2005-09-07 Thread Juerd
Larry Wall skribis 2005-09-07 8:32 (-0700): > I think that's a powerful argument even if we don't have an infix:<::>. > Plus I hate all infix "nor" operators due to my English-speaking bias > that requires a "neither" on the front. So let's go ahead and make > it ??!!. (At least this week...) I

[perl #37097] 'make install' forgets dynext

2005-09-07 Thread François
# New Ticket Created by François PERRAD # Please include the string: [perl #37097] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/rt3/Ticket/Display.html?id=37097 > All shared librairies (*.so or *.dll) built in runtime/parrot/dynext are not copie

Re: Packages, Modules and Classes

2005-09-07 Thread Larry Wall
On Wed, Sep 07, 2005 at 12:27:20PM -0400, Stevan Little wrote: : How do I differentiate a method from a sub? Wouldn't they both have the : & sigil? Yes, as it currently stands, you can only tell that by introspection. : >: class Foo; : >: has $.baz; : >: method bar { ... } : >: : >: Can I

Re: Packages, Modules and Classes

2005-09-07 Thread Stevan Little
Larry, On Sep 7, 2005, at 11:46 AM, Larry Wall wrote: : I base this off the AUTO* hooks described in : S10. I assume too that the METH slot is only valid for Classes, and not : appropriate for Packages and Modules. All those entries are based on the notion of intuiting from the first characte

Re: Packages, Modules and Classes

2005-09-07 Thread Larry Wall
On Wed, Sep 07, 2005 at 08:46:24AM -0700, Larry Wall wrote: : No special {FOO} subscripts, so the question doesn't arise. To the : symbol table all blocks are stored as Foo<&bar>, presumably with : extra canonicalized key info for "long" names. Actually, we might well omit the '&' on Code objects

Re: Proposal: split ternary ?? :: into binary ?? and //

2005-09-07 Thread Patrick R. Michaud
On Wed, Sep 07, 2005 at 08:32:39AM -0700, Larry Wall wrote: > > I think that's a powerful argument even if we don't have an infix:<::>. > Plus I hate all infix "nor" operators due to my English-speaking bias > that requires a "neither" on the front. So let's go ahead and make > it ??!!. (At leas

[perl #37095] [PATCH] Config{slash_exec}

2005-09-07 Thread François
# New Ticket Created by François PERRAD # Please include the string: [perl #37095] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/rt3/Ticket/Display.html?id=37095 > Since #36290 (or #36844) is applied, 'slash_exec' becomes useless in some files. (

Re: \(...)?

2005-09-07 Thread Larry Wall
We can do whatever we like with \ since it's really a *macro* that imposes lvalue context (or at least, indirection in the abstract, if we were ever to allow it in an outer lvalue context). In the case of \($a,$b) it is also distributing that context over the items in the list without copying. Th

Re: Call for B0rked

2005-09-07 Thread Andy Dougherty
On Wed, 31 Aug 2005, Chromatic wrote: > Hi all, > > In a recent discussion with Chip and Leo, the idea came up to ask for a > list of very specific TODO items -- specifically things that should work > but don't. It should be possible to Configure and build parrot with a compiler other than th

Re: Packages, Modules and Classes

2005-09-07 Thread Larry Wall
On Tue, Sep 06, 2005 at 02:04:00PM -0400, Stevan Little wrote: : I assume that each symbol table entry has the following slots; SCALAR, : ARRAY, HASH, SUB, METH. Nope, typeglobs are dead, dead, dead, dead, and dead, not necessariy in that order. : I base this off the AUTO* hooks described in :

Re: Proposal: split ternary ?? :: into binary ?? and //

2005-09-07 Thread Larry Wall
On Tue, Sep 06, 2005 at 04:57:30PM +0200, Thomas Sandlass wrote: : HaloO, : : Luke wrote: : > Okay, now why don't you tell us about this new binary :: you're proposing. : : Well, not a new one. Just plain old foo::bar::blahh and 'my ::blubb $x' : with relaxed whitespace rules. The ternary ?? :: i

perl6-all@perl.org

2005-09-07 Thread Luke Palmer
On 9/7/05, Damian Conway <[EMAIL PROTECTED]> wrote: > Luke wrote: > > In that last case though, this is not equivalent to the above: > > > > given &code.arity { > > when 2 { code(1,2) } > > when 1 { code(1) } > > } > > > > That may be a little... surprising. Still,

perl6-all@perl.org

2005-09-07 Thread Larry Wall
On Tue, Sep 06, 2005 at 06:19:01PM +0300, Yuval Kogman wrote: : On Tue, Sep 06, 2005 at 13:28:24 +, Luke Palmer wrote: : : This should still work: : : > sub map (&code, [EMAIL PROTECTED]) { : > gather { : > my @args = @list.splice(0, &code.arity); : > take

Re: global destruction

2005-09-07 Thread Nicholas Clark
On Wed, Sep 07, 2005 at 02:37:33PM +0200, Leopold Toetsch wrote: > Nicholas Clark wrote: > >For starters, in glossary.pod I'm failing to find definitions for > >"destruction" and "finalisation". One is about cleanup actions on objects/ > >PMCs that need something actively cleaned up, rendering acti

Re: Why are we adding more kwalitee tests?

2005-09-07 Thread Thomas Klausner
Hi! On Wed, Sep 07, 2005 at 03:13:31PM +0300, G?bor Szab? wrote: > On 9/7/05, David Golden <[EMAIL PROTECTED]> wrote: > > > > a) all tests are relevant > > b) all tests matter equally (are equally weighted) > > c) higher score means higher quality > > > > The scores are available in the database

Re: global destruction

2005-09-07 Thread Leopold Toetsch
Nicholas Clark wrote: For starters, in glossary.pod I'm failing to find definitions for "destruction" and "finalisation". One is about cleanup actions on objects/ PMCs that need something actively cleaned up, rendering active objects down to bare memory, and the other is about reclaiming bare mem

Re: Why are we adding more kwalitee tests?

2005-09-07 Thread Gábor Szabó
On 9/7/05, David Golden <[EMAIL PROTECTED]> wrote: > > a) all tests are relevant > b) all tests matter equally (are equally weighted) > c) higher score means higher quality > > The scores are available in the database. There's no reason that someone > can't use it to generate their own "Qualitee

Re: Optimizer Documentation

2005-09-07 Thread Leopold Toetsch
Curtis Rawls wrote: As part of my Summer of Code project, I wanted to improve the documentation of the optimizer. Please svn add the .pod to docs/dev Thanks, leo

Re: Why are we adding more kwalitee tests?

2005-09-07 Thread David Golden
chromatic wrote: Some kwalitee metrics are useful in both places and that's fine. I just wonder if some of PANTS should be more private. I think much of the problem could be solved by separating the metrics from the scoring. If CPANTS just gave the results of various tests so I could look u