Movatterモバイル変換


[0]ホーム

URL:


[LISPWORKS][Common Lisp HyperSpec (TM)][Previous][Up][Next]


17.1 Sequence Concepts

Asequence is an ordered collection ofelements, implemented as either avector or alist.

Sequences can be created by thefunctionmake-sequence, as well as otherfunctions that createobjects oftypes that aresubtypes ofsequence (e.g.,list,make-list,mapcar, andvector).

Asequence function is afunction defined by this specification or added as an extension by theimplementation that operates on one or moresequences. Whenever asequence function must construct and return a newvector, it always returns asimple vector. Similarly, anystrings constructed will besimple strings.

concatenatelengthremovecopy-seqmapremove-duplicatescountmap-intoremove-ifcount-ifmergeremove-if-notcount-if-notmismatchreplacedeletenotanyreversedelete-duplicatesnoteverysearchdelete-ifnreversesomedelete-if-notnsubstitutesorteltnsubstitute-ifstable-sorteverynsubstitute-if-notsubseqfillpositionsubstitutefindposition-ifsubstitute-iffind-ifposition-if-notsubstitute-if-notfind-if-notreduce

Figure 17-1. Standardized Sequence Functions

17.1.1 General Restrictions on Parameters that must be Sequences


[Starting Points][Contents][Index][Symbols][Glossary][Issues]
Copyright 1996-2005, LispWorks Ltd. All rights reserved.


[8]ページ先頭

©2009-2025 Movatter.jp