HCoop
/
clinton
/
parenscript.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
784b924
)
Fix the return value of map-into
author
Attila Lendvai
<attila.lendvai@gmail.com>
Thu, 6 Jul 2006 22:55:47 +0000
(22:55 +0000)
committer
Attila Lendvai
<attila.lendvai@gmail.com>
Thu, 6 Jul 2006 22:55:47 +0000
(22:55 +0000)
src/js.lisp
patch
|
blob
|
blame
|
history
diff --git
a/src/js.lisp
b/src/js.lisp
index
b4b2b32
..
75af024
100644
(file)
--- a/
src/js.lisp
+++ b/
src/js.lisp
@@
-1123,7
+1123,7
@@
vice-versa.")
(do ((,idx 0 (1+ ,idx)))
((>= ,idx (slot-value ,arrvar 'length)))
(setf (aref ,arrvar ,idx) (,fn (aref ,arrvar ,idx)))))
- (return
array
)))))
+ (return
,arrvar
)))))
(defjsmacro map (function array)
"Call FUNCTION on each element in ARRAY and return the returned values in a new array."