[parenscript-devel] Skipping null returns at the top level.

Vladimir Sedach vsedach at gmail.com
Wed Jan 27 01:36:50 UTC 2010


I've also found that annoying about macros. I'm going to see what can be done.

Vladimir

2010/1/26 szergling <senatorzergling at gmail.com>:
> Hi folks,
>
> I was wondering if there's an idiom for skipping the generation of a
> form completely at the top-level. This is mildly related to the
> implicit return feature currently being trialled. Here's an example:
> suppose I'm trying to skip over this form:
>
> (in-package :something-something)
>
> by using
>
> (defpsmacro in-package (x) nil)
>
> An in-package form then compiles to "null;"
>
> This spurious output may result in errors (I'm using ps to convert
> my Lisp code to Actionscript).
>
> How about using (values) to indicate explicitly that something
> doesn't have any return values?
>
> Yong.
>
> _______________________________________________
> parenscript-devel mailing list
> parenscript-devel at common-lisp.net
> http://common-lisp.net/cgi-bin/mailman/listinfo/parenscript-devel
>




More information about the parenscript-devel mailing list