1
0
mirror of https://github.com/janet-lang/janet synced 2025-11-14 22:37:12 +00:00

Add list-pkgs and list-installed to jpm.

This commit is contained in:
Calvin Rose
2020-07-05 17:43:39 -05:00
parent 68a12d1d17
commit a45509d28e
5 changed files with 35 additions and 1 deletions

View File

@@ -497,7 +497,7 @@
(defmacro eachk
"Loop over each key in ds. Returns nil."
[x ds & body]
(each-template x ds :each body))
(each-template x ds :keys body))
(defmacro eachp
"Loop over each (key, value) pair in ds. Returns nil."