[parenscript-devel] Null macro

Red Daly reddaly at gmail.com
Tue Jul 31 20:22:20 UTC 2007


coming from lisp, "null" makes more sense as a function than a macro.  The
problem is that we are not comfortable including system-defined functions in
user scripts.

Parenscript function inlining would solve this problem for simple functions
like "null".  We could define null as a Parenscript function and have it
expand similarly to the macro version.  In the mean time, a null macro is
fine.

Red

On 7/31/07, Vladimir Sedach <vsedach at gmail.com> wrote:
>
> Done. This is now in libs/js-utils.lisp.
>
> Vladimir
>
> On 7/31/07, Daniel Gackle <danielgackle at gmail.com> wrote:
> > Can't find anything in Parenscript to do this... should we add it?
> >
> >   (defpsmacro null (x)
> >     `(= ,x nil))
> >
> > Daniel
> > _______________________________________________
> > parenscript-devel mailing list
> > parenscript-devel at common-lisp.net
> > http://common-lisp.net/cgi-bin/mailman/listinfo/parenscript-devel
> >
> >
> _______________________________________________
> parenscript-devel mailing list
> parenscript-devel at common-lisp.net
> http://common-lisp.net/cgi-bin/mailman/listinfo/parenscript-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/parenscript-devel/attachments/20070731/6975ee2d/attachment.html>


More information about the parenscript-devel mailing list