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
语法 | |
lisp-implementation-type => description | |
lisp-implementation-version => description | |
参数和值 | |
description --- 一个 string 或者 nil | |
描述 | |
lisp-implementation-type --- lisp 的实现 | |
lisp-implementation-version --- lisp 的实现的 version |
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
描述 | |
初始化值 10 | |
在读取数字和浮点数的时候使用 *READ-BASE* 来进行解释, 默认为10进制 |
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
语法 | |
input-stream-p stream => generalized-boolean | |
output-stream-p stream => generalized-boolean | |
参数和值 | |
stream --- 一个 stream | |
generalized-boolean --- 一个 generalized-boolean | |
描述 |
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
语法 | |
ensure-directories-exist pathspec &key verbose => pathspec, created | |
参数和值 | |
pathspec --- pathname的指示符 | |
verbose --- 一个 generalized boolean | |
created --- 一个 generalized boolean | |
描述 | |
测试 pathspec 的目录是否存在, 如果不存在, 就创建 |
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
语法 | |
logand &rest integers => result-integer | |
参数和值 | |
integers --- integers | |
描述 | |
按位逻辑与 | |
代码 |
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
语法 | |
ash integer count => shifted-integer | |
参数和值 | |
integer --- 一个 integer | |
count --- 一个 integer | |
shifted-integer --- 一个 integer | |
描述 | |
ash 把 interger 往左移动 count 位(相当于乘以2的count次方) |
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
语法 | |
integer-length integer => number-of-bits | |
参数和值 | |
integer --- 一个 integer | |
number-of-bits --- 一个非负整数 | |
描述 | |
返回存储这个整数的二进制内容需要的位数 |
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
语法 | |
dolist (var list-form [result-form]) declaration* {tag | statement}* => result* | |
参数和值 | |
var --- 一个 symbol | |
list-form --- 一个 form | |
result-form --- 一个 form | |
declaration --- 一个 declare 表达式, 不会被求值 | |
tag --- 一个 go tag, 不会被求值 | |
statement --- 一个 compound form, 会被求值 |
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
语法 | |
run-program [sb-ext] program args &key env environment wait search | |
pty input if-input-does-not-exist output if-output-exists error | |
if-error-exists status-hook external-format directory | |
代码 | |
* (sb-ext:run-program "/bin/echo" (list "a")) | |
#<SB-IMPL::PROCESS :EXITED 0> |
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
语法 | |
shadow symbol-names &optional package => t | |
参数和值 | |
symbol-names --- 一组 string 的指示符的指示符 | |
package --- 一个 package 的指示符, 默认是当前 package | |
描述 | |
shadow 确保 symbols-names 提供的符号在 package中。 | |
如果 symbols-names 提供的符号不在 package 中,那么对应的符号被创建. 作为内部符号插入到 package 中 |