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
语法 | |
symbol-plist symbol => plist | |
(setf (symbol-plist symbol) new-plist) | |
参数和值 | |
symbol --- 一个 symbol | |
plist, new-plist --- 一个属性列表 | |
描述 | |
访问 symbol 的属性列表 |
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
语法 | |
symbol-package symbol => contents | |
参数和值 | |
symbol --- 一个 symbol | |
contents --- 一个 package object 或者 nil | |
描述 | |
返回 symbol 的 home package |
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
语法 | |
makunbound symbol => symbol | |
参数和值 | |
symbol --- 一个 symbol | |
描述 | |
无论 symbol 之前是否绑定,都解绑定 symbol | |
代码 |
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
语法 | |
boundp symbol => generalized-boolean | |
参数和值 | |
symbol --- 一个 symbol | |
generalized-boolean --- 一个 generalized-boolean | |
描述 | |
如果 symbol 被绑定了, 返回 true, 否则返回 false |
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 |
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
语法 | |
apropos string &optional package => <no values> | |
apropos-list string &optional package => symbols | |
参数和值 | |
string --- 一个 string designator. | |
package --- 一个 package designator 或 nil, 默认为 nil | |
symbols --- 一列 symbol |
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
描述 | |
- --- 一个form, 他的值是当前在被求值的 form | |
代码 | |
* (print -) | |
(PRINT -) | |
(PRINT -) | |
* (format t "~&Evaluating ~S~%" -) | |
Evaluating (FORMAT T "~&Evaluating ~S~%" -) |
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
语法 | |
time form => result* | |
参数和值 | |
form --- 一个 form | |
results --- form 返回的 values | |
描述 | |
time 在当前的环境(词法和动态变量)中对 form 进行求值. | |
time 会把各种用时打印出来 |
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
语法 | |
get-decoded-time => second, minute, hour, date, month, year, day, daylight-p, zone | |
参数和值 | |
second, minute, hour, date, month, year, day, daylight-p, zone --- 一个 decoded time | |
描述 | |
get-decoded-time 用decoded time 的形式返回当前时间. | |
代码 |
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
语法 | |
make-symbol name => new-symbol | |
参数和值 | |
name --- 一个 string | |
new-symbol --- 一个新的 uninterned symbol | |
描述 | |
make-symbol 返回一个新的 uninterned 的名字为 name 的symbol。这个新的symbol有一个空的属性列表, 这个 symbol 没有 bound和 fbound |