I recommend using funcall, and setting your readtable-case to :invert to get case-sensitive symbols (see http://common-lisp.net/project/parenscript/reference.html#section-symbolconv and http://www.cliki.net/Case%20sensitivity):
(var xhr (new (funcall (@ window XMLHttpRequest)))) Vladimir On Wed, Apr 13, 2011 at 7:39 PM, Theam Yong Chew <[email protected]> wrote: > On 4/14/11, Haris <[email protected]> wrote: >> I wrote: >> (var xhr (new (@ window -x-m-l-http-request))) >> but I get: >> var xhr = new window.XMLHttpRequest; >> without trailing parenthesses: () >> How do I do it right ? > > More parens! :-) > > (var xhr (new ((@ window -x-m-l-http-request)))) > > _______________________________________________ > parenscript-devel mailing list > [email protected] > http://common-lisp.net/cgi-bin/mailman/listinfo/parenscript-devel > _______________________________________________ parenscript-devel mailing list [email protected] http://common-lisp.net/cgi-bin/mailman/listinfo/parenscript-devel
