DESCRIBE

From Tootsville Wiki-Wiki
Revision as of 12:04, 12 October 2016 by BRFennPocock (talk | contribs) (Created page with "Describe a symbol (word) given. Useful to get on-line documentation of a function (or variable). == Usage == (Describe 'Describe) COMMON-LISP:DESCRIBE...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Describe a symbol (word) given. Useful to get on-line documentation of a function (or variable).

Usage[edit]

     (Describe 'Describe)
     
     COMMON-LISP:DESCRIBE
       [symbol]
     
     DESCRIBE names a compiled function:
       Lambda-list: (OBJECT &OPTIONAL (STREAM-DESIGNATOR *STANDARD-OUTPUT*))
       Declared type: (FUNCTION (T &OPTIONAL (OR STREAM BOOLEAN)) (VALUES &OPTIONAL))
       Derived type: (FUNCTION (T &OPTIONAL T) (VALUES &OPTIONAL))
       Documentation:
         Print a description of OBJECT to STREAM-DESIGNATOR.
       Known attributes: unwind, any
       Source file: SYS:SRC;CODE;DESCRIBE.LISP.NEWEST
     ; No value

The “interesting” bit is the line after “Documentation” in the section about being a “compiled function.”

You must put the single quote before the symbol for this to work.