-
Notifications
You must be signed in to change notification settings - Fork 0
Description
How do your export variables?
Could be the final value in a file. Probably the easiest to implement without new syntax. slightly inconvenient as the exports of a file are at the bottom.
How do you import variables?
I like the idea of just using the name of the file directly without even importing it. However, it could cause confusion as you can declare a variable locally with the same name and we'd have to look up a local module for every unknown variable.
Have a regular import syntax instead. If we use dots to separate a module's path like python, what happens if the root module exports a record you want to get a reference to?
I like being able to import different parts of the package. Eg. import the whole package as a name or import a single or multiple names from the module. I like not being able to import everything into the global namespace.