thephoeron / let-over-lambda

Doug Hoyte's "Production" version of macros from Let Over Lambda, ready for ASDF and Quicklisp.
Other
131 stars 25 forks source link

Added support for docstring in DEFMACRO! #10

Closed EuAndreh closed 9 years ago

EuAndreh commented 9 years ago

Add support for docstring in a defmacro! form.

Before:

* (defmacro! docstring-test ()
    "my docstring"
    '(my form))
DOCSTRING-TEST

* (documentation * 'function)
NIL

Now:

* (defmacro! docstring-test ()
    "my docstring"
    '(my form))
DOCSTRING-TEST

* (documentation * 'function)
"my docstring"
thephoeron commented 9 years ago

Neat!