so how do you achieve this.a() effect? Like this:
    (with-slots (a b) this
       (funcall a))


On Fri, Aug 26, 2011 at 4:54 AM, Vladimir Sedach <[email protected]> wrote:
> This works like it does in Common Lisp - functions and variables have
> different namspaces. JavaScript doesn't differentiate the two. So the
> behavior is 'correct' in that it's like Common Lisp.
>
> Vladimir
>
> On Thu, Aug 25, 2011 at 9:09 AM, Canhua <[email protected]> wrote:
>> hi, I find that
>>     (with-slots (a b) this
>>          (a))
>> compiles to a(),
>> rather than this.a(), as I would expected.
>>
>> Which one is what you expected?
>>
>> _______________________________________________
>> 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
>

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

Reply via email to