1
0
mirror of https://github.com/janet-lang/janet synced 2024-11-28 11:09:54 +00:00

Merge branch 'master' of github.com:janet-lang/janet into master

This commit is contained in:
Calvin Rose 2020-10-08 12:35:16 -05:00
commit 1fba699ed4

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)))