[parenscript-devel] Skipping null returns at the top level.
vsedach at gmail.com
Mon Feb 1 06:03:29 UTC 2010
I just pushed a patch that should do the right thing; take a look.
2010/1/27 szergling <senatorzergling at gmail.com>:
> On 1/27/10, Vladimir Sedach <vsedach at gmail.com> wrote:
>> I've also found that annoying about macros. I'm going to see what can be
> Thank you. Look forward to it.
> By the way, I think implicit return is a very useful feature.
>> 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?
> parenscript-devel mailing list
> parenscript-devel at common-lisp.net
More information about the parenscript-devel