1
0
mirror of https://github.com/janet-lang/janet synced 2025-09-02 10:58:03 +00:00

Merge pull request #481 from sogaiu/remove-namespace-reference

Use "module" instead of "namespace" in docstring
This commit is contained in:
Calvin Rose
2020-10-07 17:43:56 -05:00
committed by GitHub

View File

@@ -2488,7 +2488,7 @@
(tuple import* (string path) ;argm)) (tuple import* (string path) ;argm))
(defmacro use (defmacro use
"Similar to import, but imported bindings are not prefixed with a namespace "Similar to import, but imported bindings are not prefixed with a module
identifier. Can also import multiple modules in one shot." identifier. Can also import multiple modules in one shot."
[& modules] [& modules]
~(do ,;(map |~(,import* ,(string $) :prefix "") modules))) ~(do ,;(map |~(,import* ,(string $) :prefix "") modules)))