lispdoc - results for list |
(list &rest args) | Function: Return constructs and returns a list of its arguments.
|
Example:(defun list1 (x) (list x)) | Mentioned in: CLtL2 - 11.6. Built-in Packages CLtL2 - 15.2. Lists CLtL2 - 17.1. Array Creation CLtL2 - 19.5. Defstruct Options CLtL2 - 19.7.1. Unnamed Structures CLtL2 - 19.7.2. Named Structures CLtL2 - 2.15. Overlap, Inclusion, and Disjointness of Types CLtL2 - 2.4. Lists and Conses CLtL2 - 20.1. Run-Time Evaluation of Forms CLtL2 - 26.8. Value Accumulation CLtL2 - 28.1.4. Integrating Types and Classes CLtL2 - 28.1.7.4. Built-in Method Combination Types CLtL2 - 29.2. Changes in Terminology CLtL2 - 4.4. Type Specifiers That Combine CLtL2 - 4.5. Type Specifiers That Specialize CLtL2 - 5.2.2. Lambda-Expressions CLtL2 - 7.8.4. Mapping CLtL2 - 8.1. Macro Definition CLtL2 - 9.2. Declaration Specifiers CLtL2 - A.2.1. Scanners CLtL2 - A.2.5. Collectors HyperSpec - 1.4.4.5 The ``Class Precedence List'' Section of a Dictionary Entry HyperSpec - 4.3.5 Determining the Class Precedence List HyperSpec - 4.3.5.2 Examples of Class Precedence List Determination HyperSpec - 7.6.6.1.3 Applying method combination to the sorted list of applicable methods HyperSpec - Function LIST, LIST HyperSpec - System Class LIST On Lisp - A Model of Macros On Lisp - Adding Prolog Features On Lisp - Anaphoric Macros (Macro-Defining Macros) On Lisp - Anaphoric Variants On Lisp - Building Functions On Lisp - Chapter _28 On Lisp - Classes and Instances On Lisp - Code-Walkers and CPS Conversion On Lisp - Common Lisp Implementation On Lisp - Composing Functions On Lisp - Conditional Evaluation On Lisp - Continuation-Passing Macros On Lisp - Creating Context On Lisp - Destructuring in Parameter Lists On Lisp - Dispatching Macro Characters On Lisp - Extending Lisp On Lisp - Free Symbol Capture On Lisp - Functional Interfaces On Lisp - Functions as Properties On Lisp - How Macros Work On Lisp - Imperative Outside-In On Lisp - Macro Characters On Lisp - Macros from Functions On Lisp - Need for Macros On Lisp - New Implementation On Lisp - Non-functional Expanders On Lisp - Objects in Plain Lisp On Lisp - Referential Transparency On Lisp - Scheme Continuations On Lisp - Search (Nondeterminism) On Lisp - The Concept (Nondeterminism) On Lisp - True Nondeterminism On Lisp - When Capture Occurs On Lisp - When What Happens PCL - cds and records PCL - defining a schema PCL - formatting lisp code PCL - list manipulation functions PCL - object reorientation classes PCL - other method combinations PCL - special operators PCL - there is no list PCL - whole sequence manipulations Successful Lisp - chapter12 Successful Lisp - characters Successful Lisp - closures Successful Lisp - efficiency Successful Lisp - lesson 4 Successful Lisp - lesson 5 |
(listp object) | Function: Return true if OBJECT is a LIST, and NIL otherwise.
|
Example:(defun arg3 (instr) (if (listp instr) (fourth instr))) | Mentioned in: CLtL2 - 15.1. Conses CLtL2 - 6.2.2. Specific Data Type Predicates HyperSpec - Function LISTP On Lisp - Need for Macros On Lisp - Operations on Lists PCL - list manipulation functions |
lists | |
| Mentioned in: HyperSpec - 14.1.2 Conses as Lists HyperSpec - 14.1.2.1 Lists as Association Lists HyperSpec - 14.1.2.2 Lists as Sets HyperSpec - 14.1.2.3 General Restrictions on Parameters that must be Lists HyperSpec - 22.1.3.5 Printing Lists and Conses HyperSpec - 3.4 Lambda Lists HyperSpec - 3.4.1 Ordinary Lambda Lists HyperSpec - 3.4.1.6 Examples of Ordinary Lambda Lists HyperSpec - 3.4.10 Define-method-combination Arguments Lambda Lists HyperSpec - 3.4.2 Generic Function Lambda Lists HyperSpec - 3.4.3 Specialized Lambda Lists HyperSpec - 3.4.4 Macro Lambda Lists HyperSpec - 3.4.4.1 Destructuring by Lambda Lists HyperSpec - 3.4.4.1.1 Data-directed Destructuring by Lambda Lists HyperSpec - 3.4.4.1.1.1 Examples of Data-directed Destructuring by Lambda Lists HyperSpec - 3.4.4.1.2 Lambda-list-directed Destructuring by Lambda Lists HyperSpec - 3.4.5 Destructuring Lambda Lists HyperSpec - 3.4.6 Boa Lambda Lists HyperSpec - 3.4.7 Defsetf Lambda Lists HyperSpec - 3.4.8 Deftype Lambda Lists HyperSpec - 3.4.9 Define-modify-macro Lambda Lists | |
(list* arg &rest others) | Function: Return a list of the arguments with last cons a dotted pair.
|
| Mentioned in: CLtL2 - 15.2. Lists CLtL2 - 7.3. Function Invocation PCL - list manipulation functions | |
(copy-list list) | Function: Return a new list which is EQUAL to LIST. LIST may be improper.
|
Example:(defun direct-slots (name) (copy-list (get name 'slots))) | Mentioned in: CLtL2 - 15.2. Lists CLtL2 - 22.1.3. Macro Characters HyperSpec - Function COPY-LIST On Lisp - Functional Interfaces On Lisp - New Utilities (Computation at Compile-Time) PCL - combining recycling with shared structure PCL - trees |
(make-list size &key initial-element) | Function: Constructs a list with size elements each set to value
|
| Mentioned in: CLtL2 - 15.2. Lists HyperSpec - Function MAKE-LIST PCL - list manipulation functions | |
(copy-alist alist) | Function: Return a new association list which is EQUAL to ALIST.
|
| Mentioned in: CLtL2 - 15.2. Lists HyperSpec - Function COPY-ALIST PCL - lookup tables alists and plists | |
(values-list list) | Function: Return all of the elements of LIST, in order, as values.
|
| Mentioned in: CLtL2 - 7.10.1. Constructs for Handling Multiple Values HyperSpec - Function VALUES-LIST PCL - multiple values | |
(list-length list) | Function: Return the length of the given List, or Nil if the List is circular.
|
| Mentioned in: CLtL2 - 15.2. Lists HyperSpec - Function LIST-LENGTH | |
lambda-lists | |
| Mentioned in: HyperSpec - 7.6.4 Congruent Lambda-lists for all Methods of a Generic Function | |
(apropos-list string-designator &optional package-designator external-only) | Function: Like APROPOS, except that it returns a list of the symbols found instead of describing them.
|
| Mentioned in: CLtL2 - 25.3. Debugging Tools HyperSpec - Function APROPOS, APROPOS-LIST | |
(package-use-list x) | Undocumented
|
| Mentioned in: CLtL2 - 11.2. Package Names CLtL2 - 11.7. Package System Functions and Variables HyperSpec - Function PACKAGE-USE-LIST | |
(list-all-packages) | Function: Return a list of all existing packages.
|
| Mentioned in: CLtL2 - 11.7. Package System Functions and Variables HyperSpec - Function LIST-ALL-PACKAGES | |
for-as-in-list | |
| Mentioned in: HyperSpec - 6.1.2.1.2 The for-as-in-list subclause HyperSpec - 6.1.2.1.2.1 Examples of for-as-in-list subclause | |
for-as-on-list | |
| Mentioned in: HyperSpec - 6.1.2.1.3 The for-as-on-list subclause HyperSpec - 6.1.2.1.3.1 Examples of for-as-on-list subclause | |
(multiple-value-list value-form) | Undocumented
|
Example:(defun read-new-value () (format t "Enter a new value: ") (let ((foo (list (car (multiple-value-list (read-line)))))) foo)) | Mentioned in: CLtL2 - 7.10.1. Constructs for Handling Multiple Values HyperSpec - Macro MULTIPLE-VALUE-LIST PCL - multiple values |
(read-delimited-list endchar &optional (input-stream *standard-input*) recursive-p) | Function: Read Lisp values from INPUT-STREAM until the next character after a value's representation is ENDCHAR, and return the objects as a list.
|
| Mentioned in: CLtL2 - 22.1.5. The Readtable CLtL2 - 22.2.1. Input from Character Streams HyperSpec - Function READ-DELIMITED-LIST Successful Lisp - lesson 12 | |
(alexandria.0.dev:ensure-list list) | Function: If LIST is a list, it is returned. Otherwise returns the list designated by LIST.
|
(alexandria.0.dev:plist-alist plist) | Function: Returns an association list containing the same keys and values as the property list PLIST in the same order.
|
(alexandria.0.dev:alist-plist alist) | Function: Returns a property list containing the same keys and values as the association list ALIST in the same order.
|
alexandria.0.dev:proper-list | Type: Type designator for proper lists. Implemented as a SATISFIES type, hence not recommended for performance intensive use. Main usefullness as a type designator of the expected type in a TYPE-ERROR.
|
lambda-list-keywords | Variable: A list of symbols used as lambda list keywords in SBCL.
|
Example:(defun required-args (lambda-list &optional (collector #'identity)) (loop for arg in lambda-list until (member arg lambda-list-keywords) collect (funcall collector arg))) | Mentioned in: CLtL2 - 5.2.2. Lambda-Expressions CLtL2 - 8.1. Macro Definition HyperSpec - Constant Variable LAMBDA-LIST-KEYWORDS |
lambda-list-directed | |
| Mentioned in: HyperSpec - 3.4.4.1.2 Lambda-list-directed Destructuring by Lambda Lists | |
(cl-fad:list-directory dirname) | Function: Returns a fresh list of pathnames corresponding to the truenames of all files within the directory named by the non-wild pathname designator DIRNAME. The pathnames of sub-directories are returned in directory form - see PATHNAME-AS-DIRECTORY.
|
(alexandria.0.dev:circular-list &rest elements) | Type: Type designator for circular lists. Implemented as a SATISFIES type, so not recommended for performance intensive use. Main usefullness as the expected-type designator of a TYPE-ERROR.
Function: Creates a circular list of ELEMENTS. |
(usocket:make-wait-list waiters) | Undocumented
|
flexi-streams:list-stream | Type: A LIST-STREAM is a mixin for IN-MEMORY streams where the underlying sequence is a list.
|
(package-used-by-list x) | Undocumented
|
| Mentioned in: CLtL2 - 11.2. Package Names CLtL2 - 11.5. Name Conflicts CLtL2 - 11.7. Package System Functions and Variables HyperSpec - Function PACKAGE-USED-BY-LIST | |
(cffi:list-foreign-libraries &key (loaded-only t) type) | Function: Return a list of defined foreign libraries. If LOADED-ONLY is non-null only loaded libraries are returned. TYPE restricts the output to a specific library type: if NIL all libraries are returned.
|
(quicklisp-client:system-list) | Undocumented
|
(alexandria.0.dev:proper-list-p object) | Function: Returns true if OBJECT is a proper list.
|
(alexandria.0.dev:circular-list-p object) | Function: Returns true if OBJECT is a circular list, NIL otherwise.
|
(alexandria.0.dev:make-gensym-list length &optional (x g)) | Function: Returns a list of LENGTH gensyms, each generated as if with a call to MAKE-GENSYM, using the second (optional, defaulting to "G") argument.
|
(alexandria.0.dev:alist-hash-table alist &rest hash-table-initargs) | Function: Returns a hash table containing the keys and values of the association list ALIST. Hash table is initialized using the HASH-TABLE-INITARGS.
|
(alexandria.0.dev:hash-table-alist table) | Function: Returns an association list containing the keys and values of hash table TABLE.
|
(cl-ppcre:regex-apropos-list regex &optional packages &key (case-insensitive t)) | Function: Similar to the standard function APROPOS-LIST but returns a list of all symbols which match the regular expression REGEX. If CASE-INSENSITIVE is true and REGEX isn't already a scanner, a case-insensitive scanner is used.
|
(alexandria.0.dev:proper-list-length list) | Function: Returns length of LIST, signalling an error if it is not a proper list.
|
(alexandria.0.dev:make-circular-list length &key initial-element) | Function: Creates a circular list of LENGTH with the given INITIAL-ELEMENT.
|
(cffi:foreign-enum-keyword-list enum-type) | Function: Return a list of KEYWORDS defined in ENUM-TYPE.
|
(cffi:foreign-bitfield-symbol-list bitfield-type) | Function: Return a list of SYMBOLS defined in BITFIELD-TYPE.
|
(pprint-exit-if-list-exhausted) | Function: Cause the closest enclosing use of PPRINT-LOGICAL-BLOCK to return if its list argument is exhausted. Can only be used inside PPRINT-LOGICAL-BLOCK, and only when the LIST argument to PPRINT-LOGICAL-BLOCK is supplied.
|
| Mentioned in: CLtL2 - 27.3. Dynamic Control of the Arrangement of Output CLtL2 - 27.4. Format Directive Interface HyperSpec - Local Macro PPRINT-EXIT-IF-LIST-EXHAUSTED | |
(babel-encodings:list-character-encodings) | Function: List of keyword symbols denoting supported character encodings. This list does not include aliases.
|
(alexandria.0.dev:parse-ordinary-lambda-list lambda-list &key (normalize t) allow-specializers (normalize-optional normalize) (normalize-keyword normalize) (normalize-auxilary normalize)) | Function: Parses an ordinary lambda-list, returning as multiple values: 1. Required parameters. 2. Optional parameter specifications, normalized into form: (name init suppliedp) 3. Name of the rest parameter, or NIL. 4. Keyword parameter specifications, normalized into form: ((keyword-name name) init suppliedp) 5. Boolean indicating &ALLOW-OTHER-KEYS presence. 6. &AUX parameter specifications, normalized into form (name init). Signals a PROGRAM-ERROR is the lambda-list is malformed.
|
alexandria.0.dev:ordinary-lambda-list-keywords | Undocumented
|
(cl-who:convert-tag-to-string-list tag attr-list body body-fn) | Function: Used by PROCESS-TAG to convert `HTML' into a list of strings. TAG is a keyword symbol naming the outer tag, ATTR-LIST is an alist of its attributes (the car is the attribute's name as a keyword, the cdr is its value), BODY is the tag's body, and BODY-FN is a function which should be applied to BODY. The function must return a list of strings or Lisp forms.
|
(last list &optional (n 1)) | Function: Return the last N conses (not the last element!) of a list.
|
Example:(defun last-name (name) "Select the last name from a name represented as a list." (first (last name))) | Mentioned in: CLtL2 - 15.2. Lists HyperSpec - Function LAST On Lisp - Chapter _28 On Lisp - Common Lisp Evolves On Lisp - Objects in Plain Lisp PCL - list manipulation functions Successful Lisp - closures |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
| By Bill Moorier |