I use the custom macro METHCALL:<br><br>(methcall :bar foo arg1 arg2) -> foo.bar(arg1, arg2)<br><br>-Red<br><br><div class="gmail_quote">On Mon, May 4, 2009 at 10:01 AM, Vladimir Sedach <span dir="ltr"><<a href="mailto:vsedach@gmail.com">vsedach@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">One more note: if you don't want to write ((slot-value obj 'method)<br>
args) because you want the same code to work in CL, just write<br>
(funcall (slot-value obj 'method) args).<br>
<div class="im"><br>
On Mon, May 4, 2009 at 12:30 AM, Leslie P. Polzer<br>
<<a href="mailto:sky@viridian-project.de">sky@viridian-project.de</a>> wrote:<br>
><br>
</div><div><div></div><div class="h5">>> With this patch Parenscript is finally rid of the evil symbol-abuse<br>
>> conventions, which IMO is the only thing from the original design of<br>
>> Parenscript that can in retrospect be called a mistake.<br>
><br>
> It's better to not abuse symbols but it still feels weird<br>
> having SLOT-VALUE in function call context...<br>
><br>
> Leslie<br>
><br>
> --<br>
> <a href="http://www.linkedin.com/in/polzer" target="_blank">http://www.linkedin.com/in/polzer</a><br>
><br>
><br>
> _______________________________________________<br>
> parenscript-devel mailing list<br>
> <a href="mailto:parenscript-devel@common-lisp.net">parenscript-devel@common-lisp.net</a><br>
> <a href="http://common-lisp.net/cgi-bin/mailman/listinfo/parenscript-devel" target="_blank">http://common-lisp.net/cgi-bin/mailman/listinfo/parenscript-devel</a><br>
><br>
<br>
_______________________________________________<br>
parenscript-devel mailing list<br>
<a href="mailto:parenscript-devel@common-lisp.net">parenscript-devel@common-lisp.net</a><br>
<a href="http://common-lisp.net/cgi-bin/mailman/listinfo/parenscript-devel" target="_blank">http://common-lisp.net/cgi-bin/mailman/listinfo/parenscript-devel</a><br>
</div></div></blockquote></div><br>