Comment

Comment by martinflack

If I'm understanding your question correctly, that's been in there from ANSI CL. For example, when defining a function, after the lambda list, a string will be interpreted as a docstring and stored with the function definition.

http://www.lispworks.com/documentation/HyperSpec/Body/f_docu...

    (defun test ()
      "A test function"
      (+ 1 1))
    => TEST

    (documentation 'test 'function)
    => "A test function"
You can statically analyze source code to pull them out, or ask the Lisp image for them, etc. Is there something missing?
parent martinflack 10 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton