fix a bug in walk function
This commit is contained in:
parent
1297ef9fb8
commit
63c34327b9
|
@ -35,7 +35,7 @@
|
|||
(cons (walk proc (car expr))
|
||||
(walk proc (cdr expr)))
|
||||
(if (vector? expr)
|
||||
(vector-map proc expr)
|
||||
(list->vector (walk proc (vector->list expr)))
|
||||
(if (symbol? expr)
|
||||
(proc expr)
|
||||
expr)))))
|
||||
|
|
Loading…
Reference in New Issue