Re: Method/attribute chaining

2005-06-01 Thread Autrijus Tang
On Tue, May 24, 2005 at 01:53:42PM +0100, Alex Gutteridge wrote: > I've written up the case I found as a test, please feel free to add > it if it's useful. All tests pass apart from the last one which tests > attribute chaining. Tested on Pugs 6.2.5. Thanks, stevan applied it and I believe it

Re: Perl 6 Summary for 2005-05-24 through 2005-05-31

2005-06-01 Thread Leopold Toetsch
Matt Fowles wrote: Parrot thr_windows.h with MinGW François Perrad provided a patch fixing two compilation problems in thr_windows.h. Warnock applies. Actually the patch is applied. Thanks for your summary. leo

Re: Keys

2005-06-01 Thread Leopold Toetsch
TOGoS wrote: Why not extend this to properties, too? foo.hello becomes 'hello' string as-property Because that's an attribute access: $P0 = getattribute foo, "hello" leo

Re: Devel::cover bug?

2005-06-01 Thread Paul Johnson
On Tue, May 31, 2005 at 04:00:12PM -0700, Kevin Scaldeferri wrote: > I'm looking at a bit of output from Devel::Cover that I imagine has to > be a bug. I'll try my best to reproduce the HTML output: You might find it slightly easier with the textual report (cover -report text), or does the prob

Re: Keys

2005-06-01 Thread TOGoS
perl6-internals: the place to go to have people tell you things you already know and not actually answer your question at all. --- Leopold Toetsch <[EMAIL PROTECTED]> wrote: > TOGoS wrote: > > > Why not extend this to properties, too? > > > foo.hello becomes > > > > 'hello' > > stri

Empty hash

2005-06-01 Thread Luke Palmer
Two questions: Should {} be an empty hash rather than an empty code? Why did we change { %hash } from making a shallow copy of a hash to the code that returns %hash? Luke

Re: construction clarification

2005-06-01 Thread Carl Franks
> It's *a* correct way. But redundant in this particular case. > The universal new() would handle the one-argument call exactly the same > as your overloaded new() does. Presumably, however, the one-argument variant > would do something else as well. Some people will need to call the constructor w

Re: Bad code generated by imcc optimiser

2005-06-01 Thread Leopold Toetsch
Nick Glencross wrote: Leopold Toetsch wrote: Fixed, thanks for testing. Hmmm... Not seeing any improvement at my end ... I don't see any indication that it is still broken. I ran "make test" on two different boxes w/o failures (the 2 cases are imcc/t/imcpasm/opt1_71.pir and _72.pir). W

Re: [PATCH]Loop Improvements

2005-06-01 Thread Leopold Toetsch
Curtis Rawls <[EMAIL PROTECTED]> wrote: > At 10:19 AM +0200 5/31/05, Leopold Toetsch wrote: >>BTW: would you like to take a look at the register allocator? > Yeah, I'd like to take a crack or two at it. Could someone(s) send me > some tests, such as Dan's Evil code? Great. Dan is AFAIK followin

Re: Module suggestion

2005-06-01 Thread Vsevolod (Simon) Ilyushchenko
have you seen Apache-Test yet? http://search.cpan.org/dist/Apache-Test/ I find it hard to understand modules like this anymore - why use some funky tie interface and a bunch of other hoops to fake a live environment when you can really upload a file to a real webserver and run your tests the

[perl #36052] [PATCH] Fix for endianess in md5 library

2005-06-01 Thread via RT
# New Ticket Created by Nick Glencross # Please include the string: [perl #36052] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/rt3/Ticket/Display.html?id=36052 > I've finally got access to a big endian platform, and have made the changes required

[perl #36065] [PATCH] README.win32

2005-06-01 Thread François
# New Ticket Created by François PERRAD # Please include the string: [perl #36065] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/rt3/Ticket/Display.html?id=36065 > Add some useful links. Francois Perrad. readmewin32.patch Description: Binary dat

Re: Keys

2005-06-01 Thread Leopold Toetsch
TOGoS <[EMAIL PROTECTED]> wrote: [ anwser rearranged for readability ] > --- Leopold Toetsch <[EMAIL PROTECTED]> wrote: >> TOGoS wrote: >> >> > Why not extend this to properties, too? >> >> > foo.hello becomes >> > >> > 'hello' >> > string >> > as-property >> >> Because that's a

[perl #36057] [PATCH] Fix some typos - 5

2005-06-01 Thread via RT
# New Ticket Created by Nick Glencross # Please include the string: [perl #36057] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/rt3/Ticket/Display.html?id=36057 > This patch contains some fixes for typos, Regards, Nick Index: docs/pdds/pdd08_keys

Re: reduce metaoperator on an empty list

2005-06-01 Thread Deborah Pickett
On Wed, 1 Jun 2005 13.19, Joe Gottman wrote: > > Juerd asked: > > >>2+ args: interpolate specified operator > > >>1 arg: return that arg > > >>0 args: fail (i.e. thrown or unthrown exception depending on use > > fatal) > > > > > Following this logic, does join(" ", @foo) with [EMAIL

Re: reduce metaoperator on an empty list

2005-06-01 Thread Luke Palmer
On 6/1/05, Deborah Pickett <[EMAIL PROTECTED]> wrote: > I'm still in the camp of those wanting each operator to know its own identity > value (perhaps in terms of a trait). The identity of multiplication (say) is > always 1, after all, and it doesn't change depending on when you do > multiplicatio

[perl #36059] [PATCH]Substitute Instructions Patch

2005-06-01 Thread via RT
# New Ticket Created by Curtis Rawls # Please include the string: [perl #36059] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/rt3/Ticket/Display.html?id=36059 > Apparently my changes to optimizer.c uncovered a bug in subst_ins(). When an instructi

Re: reduce metaoperator on an empty list

2005-06-01 Thread Damian Conway
Deborah Pickett wrote: You are going to see empty lists more often than you think in expressions like $product = [*] @array; and having to write that as $product = [*] 1, @array; just to protect against a common case doesn't exactly flaunt Perl's DWIMmery to me. I *have* to write 1 there,

Re: Keys

2005-06-01 Thread TOGoS
--- Leopold Toetsch <[EMAIL PROTECTED]> wrote: > TOGoS <[EMAIL PROTECTED]> wrote: > > > --- Leopold Toetsch <[EMAIL PROTECTED]> wrote: > >> TOGoS wrote: > >> > >> > Why not extend this to properties, too? > >> > >> > foo.hello becomes > >> > > >> > 'hello' > >> > string > >> > as

Re: Bad code generated by imcc optimiser

2005-06-01 Thread Nick Glencross
Leopold Toetsch wrote: Nick Glencross wrote: Leopold Toetsch wrote: Fixed, thanks for testing. Hmmm... Not seeing any improvement at my end ... I don't see any indication that it is still broken. I ran "make test" on two different boxes w/o failures (the 2 cases are imcc/t/imcpasm/

Re: Bad code generated by imcc optimiser

2005-06-01 Thread Dino Morelli
On Wed, 1 Jun 2005, Leopold Toetsch wrote: >Nick Glencross wrote: >> Leopold Toetsch wrote: > >>> Fixed, thanks for testing. >> >> Hmmm... Not seeing any improvement at my end ... > >I don't see any indication that it is still broken. I ran "make test" on >two different boxes w/o failures (the 2 c

Re: Perl 6 Summary... p6rules

2005-06-01 Thread Dino Morelli
On Tue, 31 May 2005, Patrick R. Michaud wrote: >On Tue, May 31, 2005 at 11:58:12PM -0400, Dino Morelli wrote: >> >> This and my other two patches to p6rules tests (RT #35950, 35971, 35994) >> have not yet been applied. > >My apologies for taking so long to apply these patches; I've been >out of to

[PATCH]interpreter_array_mutex destroying

2005-06-01 Thread Vladimir Lipsky
At the time the main interpreter(one which has no parent) exits, there could remain some other interpreters being run by detached threads as in t/pmc/threads_4.pasm. To execute bytecode successfully an interpreter needs that things like PIO, class vtables, event loop, class_count_mutex, interpr

HP-UX build notes

2005-06-01 Thread Nick Glencross
Here are some notes for those that are interested in parrot being built on other platforms. The system in question is a PA-RISC HP-UX 11.11 system (hppa2.0w-hp-hpux11.11). The system only has the bundled C compiler and linker, so I've compiled gcc 3.3.6 for it. gcc cannot create debug informa

Re: construction clarification

2005-06-01 Thread Carl Franks
> The universal new() would handle the one-argument call exactly the > same as your overloaded new() does. Is that correct? S12 says... All classes inherit a default new constructor from Object. It expects all arguments to be named parameters initializing attributes of the same name. ... whi

Re: HP-UX build notes

2005-06-01 Thread Nick Glencross
Actually, I'm working in a small window, and missed the fact that Configure reported the following: Determining your minimum pointer alignment..Use of uninitialized value in concatenation (.) or string at config/auto/alignptrs.pl line 59. Use of uninitialized value in numeric eq (==) atconf

Re: reduce metaoperator on an empty list

2005-06-01 Thread Michele Dondi
On Wed, 1 Jun 2005, Luke Palmer wrote: $ordered = [<] @array; If @array is empty, is $ordered supposed to be true or false? It certainly shouldn't be anything but those two, because < is a boolean operator. I read that (mathematically) as "for all i, for all j such that j-i=1, a_i Why sh

Re: [PATCH]Loop Improvements

2005-06-01 Thread Dan Sugalski
At 9:28 PM -0600 5/31/05, Curtis Rawls wrote: At 10:19 AM +0200 5/31/05, Leopold Toetsch wrote: Curtis Rawls (via RT) wrote: This patch makes improvements to the loop struct. Thanks, applied - r8219 BTW: would you like to take a look at the register allocator? It works but consumes enormou

Re: HP-UX build notes

2005-06-01 Thread Nick Glencross
Nick Glencross wrote: Actually, I'm working in a small window, and missed the fact that Configure reported the following: Determining your minimum pointer alignment..Use of uninitialized value in concatenation (.) or string at config/auto/alignptrs.pl line 59. Use of uninitialized value i

re: Keys

2005-06-01 Thread Dan Sugalski
At 7:10 PM -0700 5/31/05, TOGoS wrote: > The 'used as' type indicates whether this key is to be used to do a by-integer-index (array) access or by-string-index (hash) access. Why not extend this to properties, too? Because properties (and attributes) are metadata. At the moment properti

Re: construction clarification

2005-06-01 Thread Damian Conway
Carl Franks wrote: The universal new() would handle the one-argument call exactly the same as your overloaded new() does. Is that correct? S12 says... All classes inherit a default new constructor from Object. It expects all arguments to be named parameters initializing attributes of th

Re: construction clarification

2005-06-01 Thread Damian Conway
Carl Franks wrote: However, if I allowed the default 'new' to handle that case, then the BUILD submethod has to be aware of that. I thought it would be cleaner to 'document' the special case with a seperate constructor, and also not require any special-case logic in the BUILD submethod. Is that

Re: [perl #36059] [PATCH]Substitute Instructions Patch

2005-06-01 Thread Leopold Toetsch
Curtis Rawls <[EMAIL PROTECTED]> wrote: > Apparently my changes to optimizer.c uncovered a bug in subst_ins(). Yep. I've added a change there yesterday but it didn't help for all. Dunno yet why. So this variant is now in. rev 8235 leo

Re: reduce metaoperator on an empty list

2005-06-01 Thread Luke Palmer
On 6/1/05, Michele Dondi <[EMAIL PROTECTED]> wrote: > On Wed, 1 Jun 2005, Luke Palmer wrote: > > >$ordered = [<] @array; > > > > If @array is empty, is $ordered supposed to be true or false? It > > certainly shouldn't be anything but those two, because < is a boolean > > operator. > > I rea

Re: Unicode Operators cheatsheet, please!

2005-06-01 Thread Rob Kinyon
xOn 5/31/05, Sam Vilain <[EMAIL PROTECTED]> wrote: > Rob Kinyon wrote: > > I would love to see a document (one per editor) that describes the > > Unicode characters in use and how to make them. The Set implementation > > in Pugs uses (at last count) 20 different Unicode characters as > > operators.

Re: reduce metaoperator on an empty list

2005-06-01 Thread BÁRTHÁZI András
Hi, You have to either supply an initial value or refactor your logic not to allow an empty @array (as in the first case). If you want it some other way, there are far too many special cases we have to work with, some of which are just mathematically impossible. I think `fail`ing is the best b

Re: mod/div

2005-06-01 Thread TSa (Thomas Sandlaß)
Mark Reed wrote: At least, not in cases where the intended result is consistent across 0. Lots of date arithmetic falls into this category, and works beautifully with the definitions above. Does it? If you have a year 0, what is the number corresponding to the middle of that year? Is it 0.5? Is

Re: [perl #36052] [PATCH] Fix for endianess in md5 library

2005-06-01 Thread Leopold Toetsch
Nick Glencross <[EMAIL PROTECTED]> wrote: > I've finally got access to a big endian platform, and have made the > changes required to get correct checksums from the MD5 library. > All (MD5) tests pass, and are no longer skip on certain platforms. Thanks, applied - r8236 > [All being well, I shou

Re: [perl #36065] [PATCH] README.win32

2005-06-01 Thread Leopold Toetsch
François" PERRAD <[EMAIL PROTECTED]> wrote: > Add some useful links. Thanks, applied - r8239 leo

Re: [perl #36057] [PATCH] Fix some typos - 5

2005-06-01 Thread Leopold Toetsch
Nick Glencross <[EMAIL PROTECTED]> wrote: > This patch contains some fixes for typos, Thanks, applied - r8238 leo

Re: [PATCH]interpreter_array_mutex destroying

2005-06-01 Thread Leopold Toetsch
Vladimir Lipsky wrote: At the time the main interpreter(one which has no parent) exits, there could remain some other interpreters being run by detached threads as in t/pmc/threads_4.pasm. Thanks, applied. ... The better patch would require knowledge of a) how many interpreters being alive

Re: HP-UX build notes

2005-06-01 Thread Leopold Toetsch
Nick Glencross wrote: Here are some notes for those that are interested in parrot being built on other platforms. The system in question is a PA-RISC HP-UX 11.11 system (hppa2.0w-hp-hpux11.11). The system only has the bundled C compiler and linker, so I've compiled gcc 3.3.6 for it. gcc canno

Re: reduce metaoperator on an empty list

2005-06-01 Thread Michele Dondi
On Wed, 1 Jun 2005, Luke Palmer wrote: I read that (mathematically) as "for all i, for all j such that j-i=1, a_i Yep, it sure is. Now tell Perl to read it that way for any operator. Should _I_?!? ;-) I wonder what a logic-oriented programming language a' la prolog would say in this case.

Re: HP-UX build notes

2005-06-01 Thread Nick Glencross
Nick Glencross wrote: Here are some notes for those that are interested in parrot being built on other platforms. The system in question is a PA-RISC HP-UX 11.11 system (hppa2.0w-hp-hpux11.11). The system only has the bundled C compiler and linker, so I've compiled gcc 3.3.6 for it. gcc cann

Re: Perl 6 Summary... p6rules

2005-06-01 Thread Patrick R. Michaud
On Tue, May 31, 2005 at 11:58:12PM -0400, Dino Morelli wrote: > > This and my other two patches to p6rules tests (RT #35950, 35971, 35994) > have not yet been applied. Applied, "thanks" x 3. Pm

Re: HP-UX build notes

2005-06-01 Thread Nick Glencross
Leopold Toetsch wrote: Nick Glencross wrote: intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678 Strange - everything else looks like a 32-bit machine. Is it one? Doh! Copied the wrong 'perl -V' ou

Re: date and time formatting

2005-06-01 Thread TSa (Thomas Sandlaß)
Sam Vilain wrote: I also don't like implicit normalisation to seconds underneath the hood when I'm doing basic date calculations, and the way that the "DateTime" base class is inherantly based on the Gregorian calendar. I concur in this view. From a typing point of view there should be some com

Re: reduce metaoperator on an empty list

2005-06-01 Thread Dave Whipp
Luke Palmer wrote: For something like: $ordered = [<] @array; If @array is empty, is $ordered supposed to be true or false? It certainly shouldn't be anything but those two, because < is a boolean operator. I have no problem with 3-state logic systems (true, false, undef) if this is w

Re: "returns" and context

2005-06-01 Thread TSa (Thomas Sandlaß)
Gaal Yahas wrote: How do I specify the signature of a context-sensitive function? sub foo() returns (what?) { return want ~~ Scalar ?? cheap_integer_result :: List_of_Sheep; } If it were two subs, one would "is returns" Int and the other List of Sheep. The draft S29 uses thin

Re: (1,(2,3),4)[2]

2005-06-01 Thread TSa (Thomas Sandlaß)
Larry Wall wrote: : my $b <== foo(); : : declares $b to be an iterator rather than an array ref. Though that would seem to imply that *$x slurpy parameters should work that way too, and that's not how they work right now... This is very in line with my current conclusion that List is a s

My presentation on last weekend

2005-06-01 Thread BÁRTHÁZI András
Hi, I just would like to share it with you. We had a weekend at the lake Balaton on the last weekend, where I had a talk about Perl 6. The guys liked it (the girls had sunbath during the event :), and one of them (Poetro) said the summary: then we can say, that Perl 6 is an "operator

Re: Transparent / Opaque references

2005-06-01 Thread TSa (Thomas Sandlaß)
Juerd wrote: Thomas Sandlass skribis 2005-05-28 17:34 (+0200): I propose %hash = { key => :\$variable, foo => 'bar' }; :\$variable looks like many things to me, but not an alias. Let's forget that idea, because I have a bunch of better ones! $hash = { key => \ $variable but rw , foo =

Re: reduce metaoperator on an empty list

2005-06-01 Thread Rob Kinyon
> > $ordered = [<] @array; This is asking "Is @array ordered?" In the case of a 0-element or 1-element array, the answer is "It is not disordered", which means $ordered is true. $ordered = ! [!<] @array; Rob

Re: Perl 6 Summary... p6rules

2005-06-01 Thread Dino Morelli
On Wed, 1 Jun 2005, Patrick R. Michaud wrote: >On Tue, May 31, 2005 at 11:58:12PM -0400, Dino Morelli wrote: >> >> This and my other two patches to p6rules tests (RT #35950, 35971, 35994) >> have not yet been applied. > >Applied, "thanks" x 3. > Thank you! Problem: in 35971 there were two .patch

Re: Perl 6 Summary... p6rules

2005-06-01 Thread Patrick R. Michaud
On Wed, Jun 01, 2005 at 01:07:50PM -0400, Dino Morelli wrote: > > Problem: in 35971 there were two .patch files. Looks like > subrules_t.patch for the new t/p6rules/subrules.t didn't get in there. Woops, I forgot to do the "svn add". (Yes, I know, I need to make better use of manicheck.pl. I'll

mod_pugs status

2005-06-01 Thread Jeff Horwitz
i'm happy to report that mod_parrot now comes bundled with mod_pugs! mod_pugs uses pugs (http://pugscode.org) to let you write apache handlers in perl6, and runs as an HLL layer on top of mod_parrot. pugs' parrot backend compiler is still very immature, so you still can't do many of the things yo

Re: HP-UX build notes

2005-06-01 Thread Leopold Toetsch
Nick Glencross wrote: #define PARROT_9000/800 1 ^ Can you check in config/*/*.pl where that is coming from? Thanks, leo

Re: HP-UX build notes

2005-06-01 Thread Leopold Toetsch
Nick Glencross wrote: Doh! Copied the wrong 'perl -V' output! intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=4 align

release plan for 0.2.1

2005-06-01 Thread Leopold Toetsch
A new month has started, a fresh release will come soon. * feature freeze is starting Jun 2nd, 12:00 GMT - no core changes except bug fixes and obviously correct small patches - doc patches are ok - languages/* or compilers/* patches are ok * release will very likely happen on Sat, Jun 4t

Re: Devel::cover bug?

2005-06-01 Thread Kevin Scaldeferri
On Jun 1, 2005, at 12:49 AM, Paul Johnson wrote: If you look at the subroutine coverage page, it claims that there is a BEGIN block uncovered at that line. That does sound a little strange. Are you able to produce an example showing this problem? No. In fact, it isn't consistent. Last n

Re: Devel::cover bug?

2005-06-01 Thread James E Keenan
Kevin Scaldeferri wrote: I'm looking at a bit of output from Devel::Cover that I imagine has to be a bug. I'll try my best to reproduce the HTML output: stmt branch cond sub time code 221862 100 100 _1613639 next if ($line =~ /^\

Re: HP-UX build notes

2005-06-01 Thread Nicholas Clark
On Wed, Jun 01, 2005 at 08:45:53PM +0200, Leopold Toetsch wrote: > Nick Glencross wrote: > > >Doh! Copied the wrong 'perl -V' output! > > > >intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321 > >d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 > >ivtype='

Re: HP-UX build notes

2005-06-01 Thread Nick Glencross
Leopold Toetsch wrote: Nick Glencross wrote: #define PARROT_9000/800 1 ^ Can you check in config/*/*.pl where that is coming from? That would be PARROT_${jitcpu}, where jitcpu is set by config/auto/jit.pl. It looks like jitcpu is derived (through archname) by splitt

Re: Devel::cover bug?

2005-06-01 Thread Kevin Scaldeferri
On Jun 1, 2005, at 2:35 PM, James E Keenan wrote: Kevin Scaldeferri wrote: I'm looking at a bit of output from Devel::Cover that I imagine has to be a bug. I'll try my best to reproduce the HTML output: stmt branch cond sub time code 221862 100 100

Re: HP-UX build notes

2005-06-01 Thread H.Merijn Brand
On Wed, 01 Jun 2005 12:45:12 +0100, Nick Glencross <[EMAIL PROTECTED]> wrote: > Here are some notes for those that are interested in parrot being built > on other platforms. > > The system in question is a PA-RISC HP-UX 11.11 system > (hppa2.0w-hp-hpux11.11). The system only has the bundled C c

Re: Keys

2005-06-01 Thread Chip Salzenberg
On Tue, May 31, 2005 at 07:10:42PM -0700, TOGoS wrote: > Why not extend this to properties, too? I don't know of a good use case for that. Now multidimensional arrays are common enough, and workarounds to emulate them are enough of a pain[*], that Parrot support for them makes sense. In contrast

[perl #36083] [PATCH] Fix undefined variable warning on HP-UX during Configure

2005-06-01 Thread via RT
# New Ticket Created by Nick Glencross # Please include the string: [perl #36083] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/rt3/Ticket/Display.html?id=36083 > This trivial patch fixes a cosmetic problem while running Configure on HP-UX. Basical

Re: date and time formatting

2005-06-01 Thread Nathan Gray
On Wed, Jun 01, 2005 at 03:42:57PM +1200, Sam Vilain wrote: > I've made a start on this. See ext/Date in pugs. I don't think that > your views are necessarily contrary. That's what I'm looking for. Thank you! > The biggest reason I didn't use DateTime was that I found it awkward > for the comm

Re: HP-UX build notes

2005-06-01 Thread Nick Glencross
H.Merijn Brand wrote: On Wed, 01 Jun 2005 12:45:12 +0100, Nick Glencross <[EMAIL PROTECTED]> wrote: Here are some notes for those that are interested in parrot being built on other platforms. The system in question is a PA-RISC HP-UX 11.11 system (hppa2.0w-hp-hpux11.11). The system only h

[perl #36073] [PATCH] make hello fails

2005-06-01 Thread François
# New Ticket Created by François PERRAD # Please include the string: [perl #36073] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/rt3/Ticket/Display.html?id=36073 > Since r8195, PARROT_DEBUG_FLAG is not defined in parrot/interpreter.h So, make hell

Re: Devel::cover bug?

2005-06-01 Thread Kevin Scaldeferri
On Jun 1, 2005, at 12:49 AM, Paul Johnson wrote: On Tue, May 31, 2005 at 04:00:12PM -0700, Kevin Scaldeferri wrote: I'm looking at a bit of output from Devel::Cover that I imagine has to be a bug. I'll try my best to reproduce the HTML output: You might find it slightly easier with the tex

Re: reduce metaoperator on an empty list

2005-06-01 Thread Deborah Pickett
On Wed, 1 Jun 2005 19.37, Damian Conway wrote: > Deborah Pickett wrote: > > Someone please convince me otherwise. > So what you want is not an identity value as default (which isn't even > possible for many operators, as Luke pointed out), but a predictable > failure value as default, so you can in

iseq segfault

2005-06-01 Thread Bob Rogers
The attached test case segfaults in r8247, apparently in the iseq instruction. The necessary condition seems to be that the *second* argument be a ParrotObject instance; if you reverse the order of arguments in line 41, you merely get a fatal error: MMD function __is_equal not foundfor

Re: Test::Object

2005-06-01 Thread Michael G Schwern
On Tue, May 31, 2005 at 06:47:39PM +1000, Adam Kennedy wrote: > I'm hitting this problem with large and deep class trees where what I > should really be doing is testing it against every parent class and > role, but in reality I do the specifics for that subclass, plus a couple > of specific ones

Parrot on Solaris

2005-06-01 Thread psinnottie
Building from parrot_2005-06-01_151500.tar.gz on solaris [EMAIL PROTECTED]:/var/tmp/tinder/parrot$ uname -a SunOS prodigy 5.9 Generic_117171-14 sun4u sparc SUNW,Ultra-4 [EMAIL PROTECTED]:/var/tmp/tinder/parrot$ gcc -v Reading specs from /usr/lhttp://r01.webmail.aol.com/compose-message.aspx?ver

Re: comprehensive list of perl6 rule tokens

2005-06-01 Thread Jeff 'japhy' Pinyan
Further woes, arguments, questions: In regards to <@array>, A5 says "A leading @ matches like a bare array..." but this is an over-generalization. A leading '@' merely indicates the rule is found in an array. <@array[3]> would be the same as <$fourth_element_of_array>, assuming those two val

Re: comprehensive list of perl6 rule tokens

2005-06-01 Thread Patrick R. Michaud
On Thu, Jun 02, 2005 at 12:52:36AM -0400, Jeff 'japhy' Pinyan wrote: > Further woes, arguments, questions: > > In regards to <@array>, A5 says "A leading @ matches like a bare array..." > but this is an over-generalization. A leading '@' merely indicates the > rule is found in an array. <@arra

[RELEASE] Pugs 6.2.6 is released!

2005-06-01 Thread Autrijus Tang
I'm happy to announce Pugs 6.2.6, the first release uploaded by cpan-upload.p6 (under examples/perl5/), powered by Pugs's newfound capability to use CPAN modules: http://pugscode.org/dist/Perl6-Pugs-6.2.6.tar.gz SIZE = 1083009 SHA1 = a85374c384eb11baa2ebd8d971f2ccbd8cec760f Thanks to