醉里且贪欢笑,要愁那得工夫。近来始觉古人书,信着全无是处。 昨夜松边醉倒,问松“我醉何如”。只疑松动要来扶,以手推松曰:“去”!

2007年5月22日星期二

SEQUENCE

(concatenate type &rest sequences) Function
  • Returns a new sequence of type type whose elements are the elements of sequences, int order. Copies every sequence, even the last.
Ex:
CL-USER> (concatenate 'string "welcome " "to my " "blog")
"welcome to my blog"
(sort (proseq) predicate &key key)
Returns a sequence of the same type as proseq, containing the same elements,
in an order such that there are no two successive elements e and f such that
(predicate e f) is false and (predicate f e) is true.
Ex:
CL_USER>(sort "QinGW" #'char<)
"GQWin"

没有评论: