Created
December 12, 2016 16:17
-
-
Save zhouqiang-cl/3b3312bd8f5abf7bd3992feb6d337a79 to your computer and use it in GitHub Desktop.
common lisp 的函数 DESCRIBE
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
语法 | |
describe object &optional stream => <no values> | |
参数和值 | |
object --- 一个 object | |
stream --- 一个 output stream,默认为标准输出 | |
描述 | |
describe 将 object 的描述信息输出到 stream | |
代码 | |
* (describe '+) | |
COMMON-LISP:+ | |
[symbol] | |
+ names a special variable: | |
Declared type: T | |
Value: (DESCRIBE +) | |
Documentation: | |
the value of the most recent top level READ | |
+ names a compiled function: | |
Lambda-list: (&REST NUMBERS) | |
Declared type: (FUNCTION (&REST NUMBER) (VALUES NUMBER &OPTIONAL)) | |
Derived type: (FUNCTION (&REST T) (VALUES NUMBER &OPTIONAL)) | |
Documentation: | |
Return the sum of its arguments. With no args, returns 0. | |
Known attributes: foldable, flushable, unsafely-flushable, movable, explicit-check, commutative | |
Source file: SYS:SRC;CODE;NUMBERS.LISP |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment