[parenscript-devel] Bug: &optional param

Daniel Gackle danielgackle at gmail.com
Fri Aug 3 16:56:06 UTC 2007


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/parenscript-devel/attachments/20070803/5c2eb83a/attachment.html>


More information about the parenscript-devel mailing list