mirror of
https://github.com/janet-lang/janet
synced 2024-12-01 04:19:55 +00:00
Merge branch 'master' of github.com:janet-lang/janet into master
This commit is contained in:
commit
1fba699ed4
@ -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)))
|
||||||
|
Loading…
Reference in New Issue
Block a user