5 Feb
2012
5 Feb
'12
9:10 p.m.
Just pushed a patch for this. I know I saw a similar example with string concatenation somewhere in a book or on the web before, but it didn't occur to me until now that this means that '+' is not associative in JavaScript. Thanks for the bug report! On Tue, Jan 31, 2012 at 3:31 PM, Daniel Gackle <danielgackle@gmail.com> wrote:
(let ((str "a") (n 1)) (+ str (+ n 1)))
should produce "a2", but instead compiles to "str + n + 1" and produces "a11".
_______________________________________________ parenscript-devel mailing list parenscript-devel@common-lisp.net http://lists.common-lisp.net/cgi-bin/mailman/listinfo/parenscript-devel