mirror of
https://github.com/kanaka/mal.git
synced 2024-11-10 12:47:45 +03:00
Eval keys of hash-map as well
This commit is contained in:
parent
130e1c9441
commit
4ccd278d37
@ -36,7 +36,7 @@
|
||||
(new-hash-table (make-hash-table :test 'types:mal-value=)))
|
||||
(loop
|
||||
for key being the hash-keys of hash-map-value
|
||||
do (setf (gethash key new-hash-table)
|
||||
do (setf (gethash (mal-eval key env) new-hash-table)
|
||||
(mal-eval (gethash key hash-map-value) env)))
|
||||
(make-mal-hash-map new-hash-table)))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user