3 ms·
Namespaces as first class objects. Janet namespaces symbols by renaming them. It's not the same thing.
by bjourne 5mo ago
Namespaces as first class objects. Janet namespaces symbols by renaming them. It's not the same thing.
- ianthehenry 4mo agoThe `import` macro extends the current environment with prefixed symbols from another environment. But the environment is a first-class object that you can hold and manipulate and use in arbitrary ways — `require` is the lower level primitive that `import` is built on.