Module literal name

Jonathan Bond-Caron jbondc at
Tue Jun 25 06:22:26 PDT 2013

I've been experimenting with the modules definition and find it unfortunate there's no default literal name for a module.

Could there be an optional 'namespace' or literal name within the module block?
module "classes/foo" {
     namespace foo;

     export class bar {}

import "classes/foo"; // use default namespace

module ns from "classes/foo" ; // alternative namespace

Some more examples here:

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

More information about the es-discuss mailing list