Module syntax

Axel Rauschmayer axel at
Thu Jun 6 11:05:11 PDT 2013

On Jun 6, 2013, at 19:42 , David Herman <dherman at> wrote:

> On Jun 5, 2013, at 3:59 PM, Axel Rauschmayer <axel at> wrote:
>> This makes a lot of sense. It would obviate the need for braces, right?
> No, at least not for imports. This is only about exports. I'd argue we should keep the braces on export { x, y, z } for symmetry with imports.

OK, so you don’t want to replace

    import foo from "single_export_module";

with (braceless!)

    import default as foo from "single_export_module";

Dr. Axel Rauschmayer
axel at


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list