On 7/29/05, Autrijus Tang <[EMAIL PROTECTED]> wrote:
> In S06's Currying section, there are some strange looking examples:
> 
>     &textfrom := &substr.assuming(:str($text) :len(Inf));
> 
>     &textfrom := &substr.assuming:str($text):len(Inf);
> 
>     &woof ::= &bark:(Dog).assuming :pitch<low>;
> 
> Why is it allowed to omit comma between adverbial pairs, and even
> omit parens around method call arguments?  Is .assuming a special form?

I don't think you can pass pairs without parens on method calls that
way.  However, omitting commas between argument pairs has been a main
idea from the beginning of the colon pair syntax.

Luke

Reply via email to