Re: Sane (less insane) pair semantics

2005-10-11 Thread Austin Hastings
Ingo Blechschmidt wrote: >Juerd wrote: > > >>Ingo Blechschmidt skribis 2005-10-10 20:08 (+0200): >> >> >>>Named arguments can -- under the proposal -- only ever exist in >>>calls. >>> >>> >>Which leaves us with no basic datastructure that can hold both >>positional and named arguments.

Re: Sane (less insane) pair semantics

2005-10-11 Thread Stuart Cook
On 11/10/05, Austin Hastings <[EMAIL PROTECTED]> wrote: > Luke's Tuple proposal, aka Luke's Grand Unified Object Model, is way not > what we need for this. As far as I can see, LGUOM is an expression of > "Haskell envy" of brobdingnagian proportion. The reason I refrained from linking to theory.po

Re: Sane (less insane) pair semantics

2005-10-11 Thread Ingo Blechschmidt
Hi, Stuart Cook wrote: > On 11/10/05, Austin Hastings <[EMAIL PROTECTED]> wrote: >> A rule that says >> "splatting >> a list coerces all pairs into named args" works just fine. The >> corresponding rule, "acc

Re: Sane (less insane) pair semantics

2005-10-11 Thread TSa
HaloO, Larry Wall wrote: It still has to figure out how to reconcile the named arguments with the positional parameters, of course, unless someone has made sufficient representation to the compiler that all calls to a particular short name have particular named parameters that are guaranteed to

feather

2005-10-11 Thread Juerd
Feather has been online for a few months now, and I think it's a good idea to try to evaluate, and to see how it can further improve productivity. The machine has 49 user accounts and is used in several ways. It is mostly used to connect to IRC. Pugs and parrot are compiled and developed a lot on

Proposal to make class method non-inheritable

2005-10-11 Thread Stevan Little
Hello all. I would like to propose that class methods do not get inherited along normal class lines. I think that inheriting class methods will, in many cases, not DWIM. This is largely because your are inheriting behavior, and not state (since class attributes are not inheritable). Let m

Re: Proposal to make class method non-inheritable

2005-10-11 Thread Damian Conway
Anyway, I have said my peace, what do you all think? I think there are serious problems with this proposal. For a start, it would be very difficult to create *any* objects at all if the C class method wasn't inheritable. Damian

Re: Proposal to make class method non-inheritable

2005-10-11 Thread Dave Whipp
Stevan Little wrote: I would like to propose that class methods do not get inherited along normal class lines. One of the things that has annoyed me with Java is that it's class methods don't inherit (dispatch polymorphically). This means that you can't apply the "template method" pattern to

Re: Proposal to make class method non-inheritable

2005-10-11 Thread Stevan Little
Damian, On Oct 11, 2005, at 6:53 PM, Damian Conway wrote: Anyway, I have said my peace, what do you all think? I think there are serious problems with this proposal. For a start, it would be very difficult to create *any* objects at all if the C class method wasn't inheritable. Actually

Re: Proposal to make class method non-inheritable

2005-10-11 Thread Stevan Little
David, On Oct 11, 2005, at 7:49 PM, Dave Whipp wrote: Stevan Little wrote: I would like to propose that class methods do not get inherited along normal class lines. One of the things that has annoyed me with Java is that it's class methods don't inherit (dispatch polymorphically). This m

Re: Proposal to make class method non-inheritable

2005-10-11 Thread Dave Whipp
Stevan Little wrote: David, ... If you would please give a real-world-useful example of this usage of class-methods, I am sure I could show you, what I believe, is a better approach that does not use class methods. ... The example I've wanted to code in Java is along the lines of: public

Re: Proposal to make class method non-inheritable

2005-10-11 Thread Larry Wall
On Tue, Oct 11, 2005 at 06:10:41PM -0400, Stevan Little wrote: : Hello all. : : I would like to propose that class methods do not get inherited along : normal class lines. I think most class methods should be written as submethods instead. : I think that inheriting class methods will, in many

Re: Proposal to make class method non-inheritable

2005-10-11 Thread Stevan Little
David, On Oct 11, 2005, at 8:42 PM, Dave Whipp wrote: Stevan Little wrote: David, ... If you would please give a real-world-useful example of this usage of class-methods, I am sure I could show you, what I believe, is a better approach that does not use class methods. ... The exam

multiline comments

2005-10-11 Thread Alfie John
Hi (), This is probably a stupid question, but I can't find anything from google: Does Perl6 support multiline comments? Alfie John

Re: multiline comments

2005-10-11 Thread Luke Palmer
On 10/11/05, Alfie John <[EMAIL PROTECTED]> wrote: > Does Perl6 support multiline comments? Yes, in the form of pod blocks. =begin comment =end comment They nest, too. Luke

Re: multiline comments

2005-10-11 Thread Alfie John
On 12/10/2005, at 3:33 PM, Luke Palmer wrote: On 10/11/05, Alfie John <[EMAIL PROTECTED]> wrote: Does Perl6 support multiline comments? Yes, in the form of pod blocks. =begin comment =end comment They nest, too. Luke But does that then break my lovely formatted pod like it does in Pe

Re: multiline comments

2005-10-11 Thread Mark A. Biggar
Alfie John wrote: Hi (), This is probably a stupid question, but I can't find anything from google: Does Perl6 support multiline comments? Briefly, No and kind of. Standard Perl 6 comments are just like those in Perl 5. A '#' starts a comment that is terminated by the end of line. But, bo

Re: multiline comments

2005-10-11 Thread Alfie John
On 12/10/2005, at 4:18 PM, Mark A. Biggar wrote: Alfie John wrote: Hi (), This is probably a stupid question, but I can't find anything from google: Does Perl6 support multiline comments? Briefly, No and kind of. Standard Perl 6 comments are just like those in Perl 5. A '#' starts

Re: multiline comments

2005-10-11 Thread Luke Palmer
On 10/12/05, Alfie John <[EMAIL PROTECTED]> wrote: > On 12/10/2005, at 3:33 PM, Luke Palmer wrote: > > =begin comment > > =end comment > > But does that then break my lovely formatted pod like it does in Perl5? Try this: % cat > dosomething.pl =head1 TITLE Thingy - do something =head1 DESCRIPTI