- Returns a new sequence of type type whose elements are the elements of sequences, int order. Copies every sequence, even the last.
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"
没有评论:
发表评论