[parenscript-devel] with-slots inconsistence

Vladimir Sedach vsedach at gmail.com
Sun Aug 28 19:14:24 UTC 2011


Exactly

On Thu, Aug 25, 2011 at 8:57 PM, Canhua <dreameration at gmail.com> wrote:
> 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 <vsedach at gmail.com> 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 <dreameration at gmail.com> 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
>>> parenscript-devel at common-lisp.net
>>> http://lists.common-lisp.net/cgi-bin/mailman/listinfo/parenscript-devel
>>>
>>
>> _______________________________________________
>> parenscript-devel mailing list
>> parenscript-devel at common-lisp.net
>> http://lists.common-lisp.net/cgi-bin/mailman/listinfo/parenscript-devel
>>
>
> _______________________________________________
> parenscript-devel mailing list
> parenscript-devel at common-lisp.net
> http://lists.common-lisp.net/cgi-bin/mailman/listinfo/parenscript-devel
>




More information about the parenscript-devel mailing list