Created
December 3, 2016 03:27
-
-
Save zhouqiang-cl/79b3a249bcb0524d44ff3feffae0c86a to your computer and use it in GitHub Desktop.
common lisp 的函数 FILL
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
语法 | |
fill sequence item &key start end => sequence | |
参数和值 | |
sequence --- 一个属性序列 | |
item --- 一个序列 | |
start, end --- 序列范围指示符, 默认 start 为0, end 为 nil | |
描述 | |
用 item 替换掉从 start 到 end 的元素 | |
代码 | |
* (fill (list 0 1 2 3 4 5) '(444)) | |
((444) (444) (444) (444) (444) (444)) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment