I found that
(ps ([] (create :f 1))) yields to
"[[create, 'f', 1]];"
while changing "[]" to "list" yields expected result.
Is that a bug?
Best regards.
The [] macro treats its arguments as quoted lists to make it easy to write nested array literals:
([] 1 2 (3 4) 5 6) => [1, 2, [3, 4], 5, 6];
I added a description of that to the reference manual.
Vladimir
On Wed, Jan 11, 2012 at 3:02 AM, Canhua dreameration@gmail.com wrote:
I found that
(ps ([] (create :f 1))) yields to
"[[create, 'f', 1]];"
while changing "[]" to "list" yields expected result.
Is that a bug?
Best regards.
parenscript-devel mailing list parenscript-devel@common-lisp.net http://lists.common-lisp.net/cgi-bin/mailman/listinfo/parenscript-devel
ok. Thank you so much.
On Fri, Jan 13, 2012 at 7:19 AM, Vladimir Sedach vsedach@gmail.com wrote:
The [] macro treats its arguments as quoted lists to make it easy to write nested array literals:
([] 1 2 (3 4) 5 6) => [1, 2, [3, 4], 5, 6];
I added a description of that to the reference manual.
Vladimir
On Wed, Jan 11, 2012 at 3:02 AM, Canhua dreameration@gmail.com wrote:
I found that
(ps ([] (create :f 1))) yields to
"[[create, 'f', 1]];"
while changing "[]" to "list" yields expected result.
Is that a bug?
Best regards.
parenscript-devel mailing list parenscript-devel@common-lisp.net http://lists.common-lisp.net/cgi-bin/mailman/listinfo/parenscript-devel
parenscript-devel mailing list parenscript-devel@common-lisp.net http://lists.common-lisp.net/cgi-bin/mailman/listinfo/parenscript-devel
parenscript-devel@common-lisp.net