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 <[email protected]> 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
> [email protected]
> http://lists.common-lisp.net/cgi-bin/mailman/listinfo/parenscript-devel

_______________________________________________
parenscript-devel mailing list
[email protected]
http://lists.common-lisp.net/cgi-bin/mailman/listinfo/parenscript-devel

Reply via email to