How to see docstrings and other symbol information in Common Lisp REPL?

前端 未结 2 2027
暗喜
暗喜 2020-12-29 04:12

I\'m completely new to CL, and I\'d like to learn how to read documentation strings and get other help information from the REPL. Something like help(symbol) in

2条回答
  •  执笔经年
    2020-12-29 04:25

    As mentioned Common Lisp has standard functions: DESCRIBE, INSPECT and DOCUMENTATION. Typical Lisp IDEs also have these bound to keys and menus.

    For standard Common Lisp functionality most IDEs directly link to the Common Lisp HyperSpec documentation with a keystroke.

    Most IDEs also have keystrokes to show the arglist and the documentation. There is also the 'arglist on space' functionality.

    LispWorks specific examples: LispWorks Argument list information and LispWorks Expressions menu

    I can recommend to read the IDE manual for Slime, LispWorks Editor, Allegro CL's ELI, or whatever IDE you are using.

提交回复
热议问题