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

前端 未结 2 2029
暗喜
暗喜 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条回答
  •  Happy的楠姐
    2020-12-29 04:23

    Regarding your question about getting the type of symbol: there is no such thing. Or, more precisely, symbols are not just names of other objects, but themselves objects of the type SYMBOL. Each symbol can have both a variable value and a function value. To check if it has a variable value, use BOUNDP, and to check for a function value FBOUNDP.

提交回复
热议问题