1
0
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:
Calvin Rose
2018-10-21 11:46:36 -04:00
parent 98f2c6feab
commit 92202e1c8b
4 changed files with 17 additions and 26 deletions

View File

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