shouting versus dotting

Denis Koroskin 2korden at gmail.com
Mon Oct 6 06:16:34 PDT 2008


On Mon, 06 Oct 2008 16:42:51 +0400, Jarrett Billingsley  
<jarrett.billingsley at gmail.com> wrote:

> On Mon, Oct 6, 2008 at 6:59 AM, Denis Koroskin <2korden at gmail.com> wrote:
>
>> If we don't omit parenthesises, the ambiguity goes away:
>>
>> foo()(5)
>> foo(5)()
>>
>
> No it doesn't.
>
> Stdout("foo")("bar!").newline;

And what causes ambiguity here? I mean, imagine you can't drop empty  
paranthesises.



More information about the Digitalmars-d mailing list