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

2007-04-26 Thread Charles Bailey
On 4/24/07, Larry Wall <[EMAIL PROTECTED]> wrote: On Tue, Apr 24, 2007 at 06:45:12PM -0400, Charles Bailey wrote: : On 4/17/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: : >Note that unless no longer allows an else : It's probably that I'm just having another day where skull > brain, but I'm

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

2007-04-24 Thread Larry Wall
On Tue, Apr 24, 2007 at 06:45:12PM -0400, Charles Bailey wrote: : On 4/17/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: : >Note that unless no longer allows an else : It's probably that I'm just having another day where skull > brain, but I'm : not sure I see the benefit to the language here. :

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

2007-04-24 Thread Charles Bailey
On 4/17/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Note that unless no longer allows an else It's probably that I'm just having another day where skull > brain, but I'm not sure I see the benefit to the language here. I think of "unless" as an alternate spelling for "if not", so it seems

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

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] 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