HCoop
/
jackhill
/
mal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
130e1c9
)
Eval keys of hash-map as well
author
Iqbal Ansari
<iqbalansari02@yahoo.com>
Sun, 21 Aug 2016 05:59:59 +0000
(11:29 +0530)
committer
Iqbal Ansari
<iqbalansari02@yahoo.com>
Sat, 27 Aug 2016 12:43:33 +0000
(18:13 +0530)
common_lisp/step6_file.lisp
patch
|
blob
|
blame
|
history
diff --git
a/common_lisp/step6_file.lisp
b/common_lisp/step6_file.lisp
index
ad5bf1f
..
8edcd90
100644
(file)
--- a/
common_lisp/step6_file.lisp
+++ b/
common_lisp/step6_file.lisp
@@
-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)))