mirror of
https://github.com/janet-lang/janet
synced 2025-11-03 17:13:10 +00:00
Add invert and simplify
env-lookups to env-lookup
This commit is contained in:
@@ -141,7 +141,8 @@
|
||||
|
||||
# Marshal
|
||||
|
||||
(def [m-lookup um-lookup] (env-lookups _env))
|
||||
(def um-lookup (env-lookup _env))
|
||||
(def m-lookup (invert um-lookup))
|
||||
|
||||
(defn testmarsh [x msg]
|
||||
(def marshx (marshal x m-lookup))
|
||||
|
||||
Reference in New Issue
Block a user