mirror of
https://github.com/janet-lang/janet
synced 2025-10-24 20:27:41 +00:00
Deprecate process/args and add use macro.
Use is a shorthand for (import module :prefix ""). process/args has been replaced by (dyn :args) at the top level.
This commit is contained in:
@@ -79,7 +79,7 @@ Keys are:
|
||||
"clear-cache" cook/clear-cache
|
||||
"uninstall" uninstall})
|
||||
|
||||
(def args (tuple/slice process/args 2))
|
||||
(def args (tuple/slice (dyn :args) 2))
|
||||
(def len (length args))
|
||||
(var i 0)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user