Re: Set-returning .keys (was Re: Smart Matching clarification)

2006-11-24 Thread TSa
HaloO, Jonathan Lang wrote: Other cases: What would 'Set.push(items)' and 'Set.pop()' do? What _is_ the appropriate way to go about adding items to (or removing items from) a Set, or of searching the Set for an element? Since Sets are immutable values there should be no push and pop methods.

Re: Set-returning .keys (was Re: Smart Matching clarification)

2006-11-24 Thread Darren Duncan
P.S. Sending this again, for timeliness, (first attempt was 20 hours ago) due to p6l mail server being down before. Sorry if you end up getting a duplicate later. To start off, I should clarify that I see little value for the existence of a Bag type except for certain

implementation for subset types

2006-11-24 Thread TSa
HaloO, I want to propose a little addition to subset type definitions. They should get an implementation body like classes and roles. This is useful to add methods to the type. Here is my Rectangle example from the 'how to change the type of objects' thread. # @.points contains Point objects

Re: Set-returning .keys (was Re: Smart Matching clarification)

2006-11-24 Thread Darren Duncan
To start off, I should clarify that I see little value for the existence of a Bag type except for certain matters of syntactic or semantic brevity, but that those alone can still warrant its existence. A Bag is for marking when your duplicate-allowing collection is conceptually not ordered,

[perl #40978] [PATCH] Clean up parts of the MMD system

2006-11-24 Thread via RT
# New Ticket Created by Matt Diephouse # Please include the string: [perl #40978] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=40978 The attached patch does the following: * Removes MultiSub logic from

[perl #40979] [TODO] - Tcl - implement [dict filter ... script]

2006-11-24 Thread via RT
# New Ticket Created by Will Coleda # Please include the string: [perl #40979] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=40979 http://www.tcl.tk/man/tcl8.5/TclCmd/dict.htm#M10 -- Will Coke Coleda [EMAIL

[perl #40982] [TODO] - Tcl - implement [dict with]

2006-11-24 Thread via RT
# New Ticket Created by Will Coleda # Please include the string: [perl #40982] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=40982 http://www.tcl.tk/man/tcl8.5/TclCmd/dict.htm#M26 -- Will Coke Coleda [EMAIL

[perl #40983] [TODO] Tcl - implement [dict for]

2006-11-24 Thread via RT
# New Ticket Created by Will Coleda # Please include the string: [perl #40983] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=40983 http://www.tcl.tk/man/tcl8.5/TclCmd/dict.htm#M12 -- Will Coke Coleda [EMAIL

[perl #40977] [TODO] Tcl - implement [dict update]

2006-11-24 Thread via RT
# New Ticket Created by Will Coleda # Please include the string: [perl #40977] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=40977 http://www.tcl.tk/man/tcl8.5/TclCmd/dict.htm#M24 -- Will Coke Coleda [EMAIL

RFC: Proposal for dynamic binding

2006-11-24 Thread Bob Rogers
From: Bob Rogers [EMAIL PROTECTED] Date: Sun, 12 Nov 2006 21:56:04 -0500 The attached patch adds a docs/pdds/pddXX_dynbind.pod file, which is a proposal for dynamic binding in Parrot . . . I have made some minor updates to the doc which are available here:

Re: [perl #40646] [TODO] PGE - add tests for alpha+[_], alpha-[Jj], etc.

2006-11-24 Thread Patrick R. Michaud
On Thu, Nov 23, 2006 at 03:09:11PM -0800, Nuno Carvalho via RT wrote: I've tried to add some tests to the rx_subrule with some extras sensitive cases, but i'm failling two tests that i think that should pass. I have attached a patch that adds new tests. The ones requiring attention are the

Re: implementation for subset types

2006-11-24 Thread Jonathan Lang
TSa wrote: HaloO, I want to propose a little addition to subset type definitions. They should get an implementation body like classes and roles. This is useful to add methods to the type. Here is my Rectangle example from the 'how to change the type of objects' thread. # @.points contains

Re: Closures, compile time, pad protos

2006-11-24 Thread Buddha Buck
On 11/22/06, Anatoly Vorobey [EMAIL PROTECTED] wrote: First of all, thanks a lot for your comments. On Wed, Nov 22, 2006 at 06:43:12PM -0500, Buddha Buck wrote: { my $x = something(); if $x==1 { ...code... } } My experience with other statically typed by extremely flexable