Module Comments

Herby Vojčík herby at mailbox.sk
Wed Dec 5 23:05:44 PST 2012



David Herman wrote:
> On Dec 5, 2012, at 10:41 PM, Herby Vojčík<herby at mailbox.sk>  wrote:
>
>> import x from "goo";
>
> Already taken. You can't use one syntax to mean two things.

I don't. These were included to show the two syntaxes (existing from and 
proposed instead-of-as grouped together; to see how they look mixed).

>> import ga for "ga";
>
> That doesn't have any correspondence to its meaning in English.

It does. import ga for (the whole module) "ga".
Alternative was `import ga for module "ga";`.

>> import x from "goo";
>
> That's identical to your first suggestion.

Same as above.

>> import ga "ga";
>
> Awkward.
>
> Dave

Herby


More information about the es-discuss mailing list