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

2007-04-17 Thread Larry Wall
On Tue, Apr 17, 2007 at 07:34:38PM -0400, Joe Gottman wrote: : [EMAIL PROTECTED] wrote: : >+ : >+The value of the conditional expression may be optionally bound to : >+a closure parameter: : >+ : >+iftesta() -> $a { say $a } : >+elsif testb() -> $b { say $b } : >+else -> $b

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

2007-04-17 Thread Joe Gottman
[EMAIL PROTECTED] wrote: + +The value of the conditional expression may be optionally bound to +a closure parameter: + +iftesta() -> $a { say $a } +elsif testb() -> $b { say $b } +else -> $b { say $b } I'd prefer it if the result of a test in an if or elsif were usable

Parrot 0.4.11 released

2007-04-17 Thread Matt Diephouse
On behalf of the Parrot team, I'm proud to announce Parrot 0.4.11 "Tax Bird." Parrot (http://parrotcode.org/) is a virtual machine aimed at running all dynamic languages. Parrot 0.4.11 can be obtained via CPAN (soon), or follow the download instructions at http://parrotcode.org/source.html. For t

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

2007-04-17 Thread John Macdonald
On Tue, Apr 17, 2007 at 11:22:39AM -0700, [EMAIL PROTECTED] wrote: > Note that unless no longer allows an else I'm sorry to see this. This is one item from PBP that I don't really agree with. Personally, I find I am at least as likely to make mistakes about the double negative in "if (!cond) ...

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

2007-04-17 Thread Uri Guttman
> "LP" == Luke Palmer <[EMAIL PROTECTED]> writes: LP> On 4/17/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: >> Note that unless no longer allows an else LP> Hmm, that's interesting. I don't _think_ I'm opposed, but maybe I am. LP> The main case that I can see this limiting me is

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

2007-04-17 Thread Luke Palmer
On 4/17/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Note that unless no longer allows an else Hmm, that's interesting. I don't _think_ I'm opposed, but maybe I am. The main case that I can see this limiting me is where I like to put my error conditions at the end of my code, out of the wa

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

2007-04-17 Thread larry
Author: larry Date: Tue Apr 17 11:26:03 2007 New Revision: 14377 Modified: doc/trunk/design/syn/S04.pod Log: Neglected to mention that unless also allows binding of its false parameter Modified: doc/trunk/design/syn/S04.pod

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

2007-04-17 Thread larry
Author: larry Date: Tue Apr 17 11:22:38 2007 New Revision: 14376 Modified: doc/trunk/design/syn/S04.pod doc/trunk/design/syn/S05.pod Log: Note that unless no longer allows an else Clarification of binding semantics of if, elsif, and else Clarification of C<..>. requested by moritz++ Modif