[parenscript-devel] Bug: &optional param

Red Daly reddaly at stanford.edu
Fri Aug 3 17:37:09 UTC 2007


There are a few bugs with the original keyword and optional macros.  I 
will merge my recent changes with all of Vladimir's and upload a patch 
shortly (a few hours).

Red

Daniel Gackle wrote:
> If I define this in PS:
>
>   (defun test-opt (&optional x)
>       (return (if x "yes" "no")))
>
> then I get the following in the browser:
>
>   testOpt(123)
>     => "no"
>
> Daniel
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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