annotate lisp/cl/cl-defs.el @ 9:6f2bbbbbe05a

Added tag r19-15b5 for changeset 4b173ad71786
author cvs
date Mon, 13 Aug 2007 08:47:36 +0200
parents 376386a54a3c
children 489f57a838ef
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2 ;;;### (autoloads (cl-macroexpand-all cl-prettyexpand cl-progv-before hash-table-count hash-table-p cl-puthash cl-hash-lookup make-hash-table cl-do-remf cl-set-getf getf get* tailp list-length nreconc revappend notevery notany every some map cl-mapcar-many concatenate random-state-p make-random-state random* signum rem* mod* round* truncate* ceiling* floor* isqrt lcm gcd cl-float-limits cl-set-frame-visible-p cl-map-overlays cl-map-intervals cl-map-keymap-recursively cl-map-keymap mapcon mapcan mapl mapc maplist equalp coerce) "cl-extra" "cl/cl-extra.el" (12636 41267))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3 ;;; Generated autoloads from cl/cl-extra.el
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
5 (autoload 'coerce "cl-extra" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
6 Coerce OBJECT to type TYPE.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
7 TYPE is a Common Lisp type specifier." nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
8
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
9 (autoload 'equalp "cl-extra" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
10 T if two Lisp objects have similar structures and contents.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
11 This is like `equal', except that it accepts numerically equal
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
12 numbers of different types (float vs. integer), and also compares
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
13 strings case-insensitively." nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
14
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
15 (autoload 'maplist "cl-extra" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
16 Map FUNC to each sublist of LIST or LISTS.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
17 Like `mapcar', except applies to lists and their cdr's rather than to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
18 the elements themselves." nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
19
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
20 (autoload 'mapc "cl-extra" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
21 Like `mapcar', but does not accumulate values returned by the function." nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
22
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
23 (autoload 'mapl "cl-extra" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
24 Like `maplist', but does not accumulate values returned by the function." nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
25
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
26 (autoload 'mapcan "cl-extra" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
27 Like `mapcar', but nconc's together the values returned by the function." nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
28
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
29 (autoload 'mapcon "cl-extra" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
30 Like `maplist', but nconc's together the values returned by the function." nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
31
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
32 (autoload 'cl-map-keymap "cl-extra" nil nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
33
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
34 (autoload 'cl-map-keymap-recursively "cl-extra" nil nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
35
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
36 (autoload 'cl-map-intervals "cl-extra" nil nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
37
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
38 (autoload 'cl-map-overlays "cl-extra" nil nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
39
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
40 (autoload 'cl-set-frame-visible-p "cl-extra" nil nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
41
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
42 (autoload 'cl-float-limits "cl-extra" nil nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
43
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
44 (autoload 'gcd "cl-extra" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
45 Return the greatest common divisor of the arguments." nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
46
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
47 (autoload 'lcm "cl-extra" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
48 Return the least common multiple of the arguments." nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
49
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
50 (autoload 'isqrt "cl-extra" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
51 Return the integer square root of the argument." nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
52
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
53 (autoload 'floor* "cl-extra" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
54 Return a list of the floor of X and the fractional part of X.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
55 With two arguments, return floor and remainder of their quotient." nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
56
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
57 (autoload 'ceiling* "cl-extra" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
58 Return a list of the ceiling of X and the fractional part of X.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
59 With two arguments, return ceiling and remainder of their quotient." nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
60
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
61 (autoload 'truncate* "cl-extra" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
62 Return a list of the integer part of X and the fractional part of X.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
63 With two arguments, return truncation and remainder of their quotient." nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
64
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
65 (autoload 'round* "cl-extra" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
66 Return a list of X rounded to the nearest integer and the remainder.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
67 With two arguments, return rounding and remainder of their quotient." nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
68
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
69 (autoload 'mod* "cl-extra" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
70 The remainder of X divided by Y, with the same sign as Y." nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
71
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
72 (autoload 'rem* "cl-extra" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
73 The remainder of X divided by Y, with the same sign as X." nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
74
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
75 (autoload 'signum "cl-extra" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
76 Return 1 if A is positive, -1 if negative, 0 if zero." nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
77
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
78 (autoload 'random* "cl-extra" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
79 Return a random nonnegative number less than LIM, an integer or float.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
80 Optional second arg STATE is a random-state object." nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
81
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
82 (autoload 'make-random-state "cl-extra" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
83 Return a copy of random-state STATE, or of `*random-state*' if omitted.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
84 If STATE is t, return a new state object seeded from the time of day." nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
85
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
86 (autoload 'random-state-p "cl-extra" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
87 Return t if OBJECT is a random-state object." nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
88
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
89 (autoload 'concatenate "cl-extra" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
90 Concatenate, into a sequence of type TYPE, the argument SEQUENCES." nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
91
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
92 (autoload 'cl-mapcar-many "cl-extra" nil nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
93
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
94 (autoload 'map "cl-extra" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
95 Map a function across one or more sequences, returning a sequence.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
96 TYPE is the sequence type to return, FUNC is the function, and SEQS
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
97 are the argument sequences." nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
98
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
99 (autoload 'some "cl-extra" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
100 Return true if PREDICATE is true of any element of SEQ or SEQs.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
101 If so, return the true (non-nil) value returned by PREDICATE." nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
102
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
103 (autoload 'every "cl-extra" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
104 Return true if PREDICATE is true of every element of SEQ or SEQs." nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
105
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
106 (autoload 'notany "cl-extra" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
107 Return true if PREDICATE is false of every element of SEQ or SEQs." nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
108
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
109 (autoload 'notevery "cl-extra" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
110 Return true if PREDICATE is false of some element of SEQ or SEQs." nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
111
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
112 (autoload 'revappend "cl-extra" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
113 Equivalent to (append (reverse X) Y)." nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
114
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
115 (autoload 'nreconc "cl-extra" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
116 Equivalent to (nconc (nreverse X) Y)." nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
117
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
118 (autoload 'list-length "cl-extra" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
119 Return the length of a list. Return nil if list is circular." nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
120
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
121 (autoload 'tailp "cl-extra" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
122 Return true if SUBLIST is a tail of LIST." nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
123
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
124 (autoload 'get* "cl-extra" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
125 Return the value of SYMBOL's PROPNAME property, or DEFAULT if none." nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
126
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
127 (autoload 'getf "cl-extra" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
128 Search PROPLIST for property PROPNAME; return its value or DEFAULT.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
129 PROPLIST is a list of the sort returned by `symbol-plist'." nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
130
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
131 (autoload 'cl-set-getf "cl-extra" nil nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
132
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
133 (autoload 'cl-do-remf "cl-extra" nil nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
134
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
135 (autoload 'make-hash-table "cl-extra" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
136 Make an empty Common Lisp-style hash-table.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
137 If :test is `eq', this can use Lucid Emacs built-in hash-tables.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
138 In non-Lucid Emacs, or with non-`eq' test, this internally uses a-lists.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
139 Keywords supported: :test :size
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
140 The Common Lisp keywords :rehash-size and :rehash-threshold are ignored." nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
141
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
142 (autoload 'cl-hash-lookup "cl-extra" nil nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
143
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
144 (autoload 'cl-puthash "cl-extra" nil nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
145
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
146 (autoload 'hash-table-p "cl-extra" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
147 Return t if OBJECT is a hash table." nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
148
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
149 (autoload 'hash-table-count "cl-extra" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
150 Return the number of entries in HASH-TABLE." nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
151
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
152 (autoload 'cl-progv-before "cl-extra" nil nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
153
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
154 (autoload 'cl-prettyexpand "cl-extra" nil nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
155
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
156 (autoload 'cl-macroexpand-all "cl-extra" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
157 Expand all macro calls through a Lisp FORM.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
158 This also does some trivial optimizations to make the form prettier." nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
159
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
160 ;;;***
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
161
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
162 ;;;### (autoloads (tree-equal nsublis sublis nsubst-if-not nsubst-if nsubst subst-if-not subst-if subsetp nset-exclusive-or set-exclusive-or nset-difference set-difference nintersection intersection nunion union rassoc-if-not rassoc-if rassoc* assoc-if-not assoc-if assoc* cl-adjoin member-if-not member-if member* merge stable-sort sort* search mismatch count-if-not count-if count position-if-not position-if position find-if-not find-if find nsubstitute-if-not nsubstitute-if nsubstitute substitute-if-not substitute-if substitute delete-duplicates remove-duplicates delete-if-not delete-if delete* remove-if-not remove-if remove* remove remq replace fill reduce) "cl-seq" "cl/cl-seq.el" (12559 39909))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
163 ;;; Generated autoloads from cl/cl-seq.el
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
164
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
165 (autoload 'reduce "cl-seq" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
166 Reduce two-argument FUNCTION across SEQUENCE.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
167 Keywords supported: :start :end :from-end :initial-value :key" nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
168
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
169 (autoload 'fill "cl-seq" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
170 Fill the elements of SEQ with ITEM.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
171 Keywords supported: :start :end" nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
172
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
173 (autoload 'replace "cl-seq" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
174 Replace the elements of SEQ1 with the elements of SEQ2.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
175 SEQ1 is destructively modified, then returned.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
176 Keywords supported: :start1 :end1 :start2 :end2" nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
177
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
178 (autoload 'remq "cl-seq" nil nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
179
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
180 (autoload 'remove "cl-seq" nil nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
181
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
182 (autoload 'remove* "cl-seq" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
183 Remove all occurrences of ITEM in SEQ.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
184 This is a non-destructive function; it makes a copy of SEQ if necessary
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
185 to avoid corrupting the original SEQ.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
186 Keywords supported: :test :test-not :key :count :start :end :from-end" nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
187
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
188 (autoload 'remove-if "cl-seq" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
189 Remove all items satisfying PREDICATE in SEQ.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
190 This is a non-destructive function; it makes a copy of SEQ if necessary
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
191 to avoid corrupting the original SEQ.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
192 Keywords supported: :key :count :start :end :from-end" nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
193
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
194 (autoload 'remove-if-not "cl-seq" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
195 Remove all items not satisfying PREDICATE in SEQ.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
196 This is a non-destructive function; it makes a copy of SEQ if necessary
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
197 to avoid corrupting the original SEQ.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
198 Keywords supported: :key :count :start :end :from-end" nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
199
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
200 (autoload 'delete* "cl-seq" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
201 Remove all occurrences of ITEM in SEQ.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
202 This is a destructive function; it reuses the storage of SEQ whenever possible.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
203 Keywords supported: :test :test-not :key :count :start :end :from-end" nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
204
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
205 (autoload 'delete-if "cl-seq" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
206 Remove all items satisfying PREDICATE in SEQ.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
207 This is a destructive function; it reuses the storage of SEQ whenever possible.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
208 Keywords supported: :key :count :start :end :from-end" nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
209
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
210 (autoload 'delete-if-not "cl-seq" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
211 Remove all items not satisfying PREDICATE in SEQ.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
212 This is a destructive function; it reuses the storage of SEQ whenever possible.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
213 Keywords supported: :key :count :start :end :from-end" nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
214
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
215 (autoload 'remove-duplicates "cl-seq" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
216 Return a copy of SEQ with all duplicate elements removed.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
217 Keywords supported: :test :test-not :key :start :end :from-end" nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
218
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
219 (autoload 'delete-duplicates "cl-seq" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
220 Remove all duplicate elements from SEQ (destructively).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
221 Keywords supported: :test :test-not :key :start :end :from-end" nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
222
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
223 (autoload 'substitute "cl-seq" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
224 Substitute NEW for OLD in SEQ.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
225 This is a non-destructive function; it makes a copy of SEQ if necessary
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
226 to avoid corrupting the original SEQ.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
227 Keywords supported: :test :test-not :key :count :start :end :from-end" nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
228
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
229 (autoload 'substitute-if "cl-seq" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
230 Substitute NEW for all items satisfying PREDICATE in SEQ.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
231 This is a non-destructive function; it makes a copy of SEQ if necessary
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
232 to avoid corrupting the original SEQ.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
233 Keywords supported: :key :count :start :end :from-end" nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
234
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
235 (autoload 'substitute-if-not "cl-seq" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
236 Substitute NEW for all items not satisfying PREDICATE in SEQ.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
237 This is a non-destructive function; it makes a copy of SEQ if necessary
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
238 to avoid corrupting the original SEQ.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
239 Keywords supported: :key :count :start :end :from-end" nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
240
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
241 (autoload 'nsubstitute "cl-seq" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
242 Substitute NEW for OLD in SEQ.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
243 This is a destructive function; it reuses the storage of SEQ whenever possible.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
244 Keywords supported: :test :test-not :key :count :start :end :from-end" nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
245
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
246 (autoload 'nsubstitute-if "cl-seq" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
247 Substitute NEW for all items satisfying PREDICATE in SEQ.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
248 This is a destructive function; it reuses the storage of SEQ whenever possible.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
249 Keywords supported: :key :count :start :end :from-end" nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
250
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
251 (autoload 'nsubstitute-if-not "cl-seq" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
252 Substitute NEW for all items not satisfying PREDICATE in SEQ.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
253 This is a destructive function; it reuses the storage of SEQ whenever possible.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
254 Keywords supported: :key :count :start :end :from-end" nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
255
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
256 (autoload 'find "cl-seq" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
257 Find the first occurrence of ITEM in LIST.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
258 Return the matching ITEM, or nil if not found.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
259 Keywords supported: :test :test-not :key :start :end :from-end" nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
260
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
261 (autoload 'find-if "cl-seq" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
262 Find the first item satisfying PREDICATE in LIST.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
263 Return the matching ITEM, or nil if not found.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
264 Keywords supported: :key :start :end :from-end" nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
265
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
266 (autoload 'find-if-not "cl-seq" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
267 Find the first item not satisfying PREDICATE in LIST.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
268 Return the matching ITEM, or nil if not found.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
269 Keywords supported: :key :start :end :from-end" nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
270
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
271 (autoload 'position "cl-seq" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
272 Find the first occurrence of ITEM in LIST.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
273 Return the index of the matching item, or nil if not found.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
274 Keywords supported: :test :test-not :key :start :end :from-end" nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
275
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
276 (autoload 'position-if "cl-seq" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
277 Find the first item satisfying PREDICATE in LIST.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
278 Return the index of the matching item, or nil if not found.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
279 Keywords supported: :key :start :end :from-end" nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
280
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
281 (autoload 'position-if-not "cl-seq" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
282 Find the first item not satisfying PREDICATE in LIST.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
283 Return the index of the matching item, or nil if not found.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
284 Keywords supported: :key :start :end :from-end" nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
285
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
286 (autoload 'count "cl-seq" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
287 Count the number of occurrences of ITEM in LIST.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
288 Keywords supported: :test :test-not :key :start :end" nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
289
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
290 (autoload 'count-if "cl-seq" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
291 Count the number of items satisfying PREDICATE in LIST.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
292 Keywords supported: :key :start :end" nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
293
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
294 (autoload 'count-if-not "cl-seq" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
295 Count the number of items not satisfying PREDICATE in LIST.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
296 Keywords supported: :key :start :end" nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
297
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
298 (autoload 'mismatch "cl-seq" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
299 Compare SEQ1 with SEQ2, return index of first mismatching element.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
300 Return nil if the sequences match. If one sequence is a prefix of the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
301 other, the return value indicates the end of the shorted sequence.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
302 Keywords supported: :test :test-not :key :start1 :end1 :start2 :end2 :from-end" nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
303
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
304 (autoload 'search "cl-seq" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
305 Search for SEQ1 as a subsequence of SEQ2.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
306 Return the index of the leftmost element of the first match found;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
307 return nil if there are no matches.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
308 Keywords supported: :test :test-not :key :start1 :end1 :start2 :end2 :from-end" nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
309
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
310 (autoload 'sort* "cl-seq" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
311 Sort the argument SEQUENCE according to PREDICATE.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
312 This is a destructive function; it reuses the storage of SEQUENCE if possible.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
313 Keywords supported: :key" nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
314
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
315 (autoload 'stable-sort "cl-seq" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
316 Sort the argument SEQUENCE stably according to PREDICATE.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
317 This is a destructive function; it reuses the storage of SEQUENCE if possible.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
318 Keywords supported: :key" nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
319
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
320 (autoload 'merge "cl-seq" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
321 Destructively merge the two sequences to produce a new sequence.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
322 TYPE is the sequence type to return, SEQ1 and SEQ2 are the two
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
323 argument sequences, and PRED is a `less-than' predicate on the elements.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
324 Keywords supported: :key" nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
325
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
326 (autoload 'member* "cl-seq" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
327 Find the first occurrence of ITEM in LIST.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
328 Return the sublist of LIST whose car is ITEM.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
329 Keywords supported: :test :test-not :key" nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
330
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
331 (autoload 'member-if "cl-seq" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
332 Find the first item satisfying PREDICATE in LIST.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
333 Return the sublist of LIST whose car matches.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
334 Keywords supported: :key" nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
335
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
336 (autoload 'member-if-not "cl-seq" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
337 Find the first item not satisfying PREDICATE in LIST.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
338 Return the sublist of LIST whose car matches.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
339 Keywords supported: :key" nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
340
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
341 (autoload 'cl-adjoin "cl-seq" nil nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
342
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
343 (autoload 'assoc* "cl-seq" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
344 Find the first item whose car matches ITEM in LIST.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
345 Keywords supported: :test :test-not :key" nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
346
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
347 (autoload 'assoc-if "cl-seq" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
348 Find the first item whose car satisfies PREDICATE in LIST.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
349 Keywords supported: :key" nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
350
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
351 (autoload 'assoc-if-not "cl-seq" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
352 Find the first item whose car does not satisfy PREDICATE in LIST.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
353 Keywords supported: :key" nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
354
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
355 (autoload 'rassoc* "cl-seq" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
356 Find the first item whose cdr matches ITEM in LIST.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
357 Keywords supported: :test :test-not :key" nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
358
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
359 (autoload 'rassoc-if "cl-seq" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
360 Find the first item whose cdr satisfies PREDICATE in LIST.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
361 Keywords supported: :key" nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
362
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
363 (autoload 'rassoc-if-not "cl-seq" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
364 Find the first item whose cdr does not satisfy PREDICATE in LIST.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
365 Keywords supported: :key" nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
366
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
367 (autoload 'union "cl-seq" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
368 Combine LIST1 and LIST2 using a set-union operation.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
369 The result list contains all items that appear in either LIST1 or LIST2.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
370 This is a non-destructive function; it makes a copy of the data if necessary
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
371 to avoid corrupting the original LIST1 and LIST2.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
372 Keywords supported: :test :test-not :key" nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
373
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
374 (autoload 'nunion "cl-seq" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
375 Combine LIST1 and LIST2 using a set-union operation.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
376 The result list contains all items that appear in either LIST1 or LIST2.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
377 This is a destructive function; it reuses the storage of LIST1 and LIST2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
378 whenever possible.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
379 Keywords supported: :test :test-not :key" nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
380
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
381 (autoload 'intersection "cl-seq" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
382 Combine LIST1 and LIST2 using a set-intersection operation.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
383 The result list contains all items that appear in both LIST1 and LIST2.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
384 This is a non-destructive function; it makes a copy of the data if necessary
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
385 to avoid corrupting the original LIST1 and LIST2.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
386 Keywords supported: :test :test-not :key" nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
387
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
388 (autoload 'nintersection "cl-seq" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
389 Combine LIST1 and LIST2 using a set-intersection operation.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
390 The result list contains all items that appear in both LIST1 and LIST2.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
391 This is a destructive function; it reuses the storage of LIST1 and LIST2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
392 whenever possible.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
393 Keywords supported: :test :test-not :key" nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
394
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
395 (autoload 'set-difference "cl-seq" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
396 Combine LIST1 and LIST2 using a set-difference operation.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
397 The result list contains all items that appear in LIST1 but not LIST2.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
398 This is a non-destructive function; it makes a copy of the data if necessary
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
399 to avoid corrupting the original LIST1 and LIST2.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
400 Keywords supported: :test :test-not :key" nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
401
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
402 (autoload 'nset-difference "cl-seq" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
403 Combine LIST1 and LIST2 using a set-difference operation.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
404 The result list contains all items that appear in LIST1 but not LIST2.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
405 This is a destructive function; it reuses the storage of LIST1 and LIST2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
406 whenever possible.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
407 Keywords supported: :test :test-not :key" nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
408
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
409 (autoload 'set-exclusive-or "cl-seq" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
410 Combine LIST1 and LIST2 using a set-exclusive-or operation.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
411 The result list contains all items that appear in exactly one of LIST1, LIST2.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
412 This is a non-destructive function; it makes a copy of the data if necessary
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
413 to avoid corrupting the original LIST1 and LIST2.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
414 Keywords supported: :test :test-not :key" nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
415
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
416 (autoload 'nset-exclusive-or "cl-seq" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
417 Combine LIST1 and LIST2 using a set-exclusive-or operation.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
418 The result list contains all items that appear in exactly one of LIST1, LIST2.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
419 This is a destructive function; it reuses the storage of LIST1 and LIST2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
420 whenever possible.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
421 Keywords supported: :test :test-not :key" nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
422
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
423 (autoload 'subsetp "cl-seq" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
424 True if LIST1 is a subset of LIST2.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
425 I.e., if every element of LIST1 also appears in LIST2.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
426 Keywords supported: :test :test-not :key" nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
427
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
428 (autoload 'subst-if "cl-seq" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
429 Substitute NEW for elements matching PREDICATE in TREE (non-destructively).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
430 Return a copy of TREE with all matching elements replaced by NEW.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
431 Keywords supported: :key" nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
432
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
433 (autoload 'subst-if-not "cl-seq" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
434 Substitute NEW for elts not matching PREDICATE in TREE (non-destructively).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
435 Return a copy of TREE with all non-matching elements replaced by NEW.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
436 Keywords supported: :key" nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
437
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
438 (autoload 'nsubst "cl-seq" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
439 Substitute NEW for OLD everywhere in TREE (destructively).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
440 Any element of TREE which is `eql' to OLD is changed to NEW (via a call
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
441 to `setcar').
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
442 Keywords supported: :test :test-not :key" nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
443
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
444 (autoload 'nsubst-if "cl-seq" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
445 Substitute NEW for elements matching PREDICATE in TREE (destructively).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
446 Any element of TREE which matches is changed to NEW (via a call to `setcar').
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
447 Keywords supported: :key" nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
448
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
449 (autoload 'nsubst-if-not "cl-seq" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
450 Substitute NEW for elements not matching PREDICATE in TREE (destructively).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
451 Any element of TREE which matches is changed to NEW (via a call to `setcar').
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
452 Keywords supported: :key" nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
453
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
454 (autoload 'sublis "cl-seq" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
455 Perform substitutions indicated by ALIST in TREE (non-destructively).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
456 Return a copy of TREE with all matching elements replaced.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
457 Keywords supported: :test :test-not :key" nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
458
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
459 (autoload 'nsublis "cl-seq" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
460 Perform substitutions indicated by ALIST in TREE (destructively).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
461 Any matching element of TREE is changed via a call to `setcar'.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
462 Keywords supported: :test :test-not :key" nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
463
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
464 (autoload 'tree-equal "cl-seq" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
465 T if trees X and Y have `eql' leaves.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
466 Atoms are compared by `eql'; cons cells are compared recursively.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
467 Keywords supported: :test :test-not :key" nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
468
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
469 ;;;***
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
470
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
471 ;;;### (autoloads (cl-compile-time-init compiler-macroexpand cl-struct-setf-expander get-setf-method cl-do-pop typep gentemp gensym) "cl-macs" "cl/cl-macs.el" (12559 39909))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
472 ;;; Generated autoloads from cl/cl-macs.el
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
473
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
474 (autoload 'gensym "cl-macs" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
475 Generate a new uninterned symbol.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
476 The name is made by appending a number to PREFIX, default \"G\"." nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
477
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
478 (autoload 'gentemp "cl-macs" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
479 Generate a new interned symbol with a unique name.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
480 The name is made by appending a number to PREFIX, default \"G\"." nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
481
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
482 (autoload 'typep "cl-macs" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
483 Check that OBJECT is of type TYPE.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
484 TYPE is a Common Lisp-style type specifier." nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
485
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
486 (autoload 'cl-do-pop "cl-macs" nil nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
487
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
488 (autoload 'get-setf-method "cl-macs" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
489 Return a list of five values describing the setf-method for PLACE.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
490 PLACE may be any Lisp form which can appear as the PLACE argument to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
491 a macro like `setf' or `incf'." nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
492
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
493 (autoload 'cl-struct-setf-expander "cl-macs" nil nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
494
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
495 (autoload 'compiler-macroexpand "cl-macs" nil nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
496
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
497 (autoload 'cl-compile-time-init "cl-macs" nil nil nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
498
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
499 ;;;***
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
500
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
501 ;;;### (autoloads (define-compiler-macro ignore-errors assert check-type defstruct callf2 callf letf* letf rotatef shiftf remf psetf setf define-modify-macro defsetf define-setf-method declare the locally multiple-value-setq multiple-value-bind lexical-let* lexical-let symbol-macrolet macrolet labels flet progv psetq do-all-symbols do-symbols dotimes dolist do* do loop return-from return block etypecase typecase ecase case load-time-value eval-when destructuring-bind function* defmacro* defun*) "cl-macs" "cl/cl-macs.el" (12559 39909))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
502 ;;; Generated autoloads from cl/cl-macs.el
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
503
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
504 (autoload 'defun* "cl-macs" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
505 (defun* NAME ARGLIST [DOCSTRING] BODY...): define NAME as a function.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
506 Like normal `defun', except ARGLIST allows full Common Lisp conventions,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
507 and BODY is implicitly surrounded by (block NAME ...)." nil 'macro)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
508
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
509 (autoload 'defmacro* "cl-macs" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
510 (defmacro* NAME ARGLIST [DOCSTRING] BODY...): define NAME as a macro.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
511 Like normal `defmacro', except ARGLIST allows full Common Lisp conventions,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
512 and BODY is implicitly surrounded by (block NAME ...)." nil 'macro)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
513
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
514 (autoload 'function* "cl-macs" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
515 (function* SYMBOL-OR-LAMBDA): introduce a function.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
516 Like normal `function', except that if argument is a lambda form, its
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
517 ARGLIST allows full Common Lisp conventions." nil 'macro)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
518
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
519 (autoload 'destructuring-bind "cl-macs" nil nil 'macro)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
520
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
521 (autoload 'eval-when "cl-macs" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
522 (eval-when (WHEN...) BODY...): control when BODY is evaluated.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
523 If `compile' is in WHEN, BODY is evaluated when compiled at top-level.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
524 If `load' is in WHEN, BODY is evaluated when loaded after top-level compile.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
525 If `eval' is in WHEN, BODY is evaluated when interpreted or at non-top-level." nil 'macro)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
526
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
527 (autoload 'load-time-value "cl-macs" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
528 Like `progn', but evaluates the body at load time.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
529 The result of the body appears to the compiler as a quoted constant." nil 'macro)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
530
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
531 (autoload 'case "cl-macs" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
532 (case EXPR CLAUSES...): evals EXPR, chooses from CLAUSES on that value.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
533 Each clause looks like (KEYLIST BODY...). EXPR is evaluated and compared
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
534 against each key in each KEYLIST; the corresponding BODY is evaluated.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
535 If no clause succeeds, case returns nil. A single atom may be used in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
536 place of a KEYLIST of one atom. A KEYLIST of `t' or `otherwise' is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
537 allowed only in the final clause, and matches if no other keys match.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
538 Key values are compared by `eql'." nil 'macro)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
539
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
540 (autoload 'ecase "cl-macs" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
541 (ecase EXPR CLAUSES...): like `case', but error if no case fits.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
542 `otherwise'-clauses are not allowed." nil 'macro)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
543
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
544 (autoload 'typecase "cl-macs" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
545 (typecase EXPR CLAUSES...): evals EXPR, chooses from CLAUSES on that value.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
546 Each clause looks like (TYPE BODY...). EXPR is evaluated and, if it
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
547 satisfies TYPE, the corresponding BODY is evaluated. If no clause succeeds,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
548 typecase returns nil. A TYPE of `t' or `otherwise' is allowed only in the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
549 final clause, and matches if no other keys match." nil 'macro)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
550
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
551 (autoload 'etypecase "cl-macs" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
552 (etypecase EXPR CLAUSES...): like `typecase', but error if no case fits.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
553 `otherwise'-clauses are not allowed." nil 'macro)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
554
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
555 (autoload 'block "cl-macs" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
556 (block NAME BODY...): define a lexically-scoped block named NAME.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
557 NAME may be any symbol. Code inside the BODY forms can call `return-from'
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
558 to jump prematurely out of the block. This differs from `catch' and `throw'
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
559 in two respects: First, the NAME is an unevaluated symbol rather than a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
560 quoted symbol or other form; and second, NAME is lexically rather than
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
561 dynamically scoped: Only references to it within BODY will work. These
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
562 references may appear inside macro expansions, but not inside functions
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
563 called from BODY." nil 'macro)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
564
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
565 (autoload 'return "cl-macs" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
566 (return [RESULT]): return from the block named nil.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
567 This is equivalent to `(return-from nil RESULT)'." nil 'macro)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
568
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
569 (autoload 'return-from "cl-macs" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
570 (return-from NAME [RESULT]): return from the block named NAME.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
571 This jump out to the innermost enclosing `(block NAME ...)' form,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
572 returning RESULT from that form (or nil if RESULT is omitted).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
573 This is compatible with Common Lisp, but note that `defun' and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
574 `defmacro' do not create implicit blocks as they do in Common Lisp." nil 'macro)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
575
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
576 (autoload 'loop "cl-macs" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
577 (loop CLAUSE...): The Common Lisp `loop' macro.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
578 Valid clauses are:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
579 for VAR from/upfrom/downfrom NUM to/upto/downto/above/below NUM by NUM,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
580 for VAR in LIST by FUNC, for VAR on LIST by FUNC, for VAR = INIT then EXPR,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
581 for VAR across ARRAY, repeat NUM, with VAR = INIT, while COND, until COND,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
582 always COND, never COND, thereis COND, collect EXPR into VAR,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
583 append EXPR into VAR, nconc EXPR into VAR, sum EXPR into VAR,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
584 count EXPR into VAR, maximize EXPR into VAR, minimize EXPR into VAR,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
585 if COND CLAUSE [and CLAUSE]... else CLAUSE [and CLAUSE...],
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
586 unless COND CLAUSE [and CLAUSE]... else CLAUSE [and CLAUSE...],
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
587 do EXPRS..., initially EXPRS..., finally EXPRS..., return EXPR,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
588 finally return EXPR, named NAME." nil 'macro)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
589
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
590 (autoload 'do "cl-macs" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
591 The Common Lisp `do' loop.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
592 Format is: (do ((VAR INIT [STEP])...) (END-TEST [RESULT...]) BODY...)" nil 'macro)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
593
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
594 (autoload 'do* "cl-macs" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
595 The Common Lisp `do*' loop.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
596 Format is: (do* ((VAR INIT [STEP])...) (END-TEST [RESULT...]) BODY...)" nil 'macro)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
597
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
598 (autoload 'dolist "cl-macs" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
599 (dolist (VAR LIST [RESULT]) BODY...): loop over a list.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
600 Evaluate BODY with VAR bound to each `car' from LIST, in turn.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
601 Then evaluate RESULT to get return value, default nil." nil 'macro)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
602
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
603 (autoload 'dotimes "cl-macs" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
604 (dotimes (VAR COUNT [RESULT]) BODY...): loop a certain number of times.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
605 Evaluate BODY with VAR bound to successive integers from 0, inclusive,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
606 to COUNT, exclusive. Then evaluate RESULT to get return value, default
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
607 nil." nil 'macro)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
608
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
609 (autoload 'do-symbols "cl-macs" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
610 (dosymbols (VAR [OBARRAY [RESULT]]) BODY...): loop over all symbols.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
611 Evaluate BODY with VAR bound to each interned symbol, or to each symbol
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
612 from OBARRAY." nil 'macro)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
613
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
614 (autoload 'do-all-symbols "cl-macs" nil nil 'macro)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
615
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
616 (autoload 'psetq "cl-macs" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
617 (psetq SYM VAL SYM VAL ...): set SYMs to the values VALs in parallel.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
618 This is like `setq', except that all VAL forms are evaluated (in order)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
619 before assigning any symbols SYM to the corresponding values." nil 'macro)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
620
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
621 (autoload 'progv "cl-macs" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
622 (progv SYMBOLS VALUES BODY...): bind SYMBOLS to VALUES dynamically in BODY.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
623 The forms SYMBOLS and VALUES are evaluated, and must evaluate to lists.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
624 Each SYMBOL in the first list is bound to the corresponding VALUE in the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
625 second list (or made unbound if VALUES is shorter than SYMBOLS); then the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
626 BODY forms are executed and their result is returned. This is much like
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
627 a `let' form, except that the list of symbols can be computed at run-time." nil 'macro)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
628
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
629 (autoload 'flet "cl-macs" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
630 (flet ((FUNC ARGLIST BODY...) ...) FORM...): make temporary function defns.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
631 This is an analogue of `let' that operates on the function cell of FUNC
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
632 rather than its value cell. The FORMs are evaluated with the specified
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
633 function definitions in place, then the definitions are undone (the FUNCs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
634 go back to their previous definitions, or lack thereof)." nil 'macro)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
635
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
636 (autoload 'labels "cl-macs" nil nil 'macro)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
637
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
638 (autoload 'macrolet "cl-macs" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
639 (macrolet ((NAME ARGLIST BODY...) ...) FORM...): make temporary macro defns.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
640 This is like `flet', but for macros instead of functions." nil 'macro)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
641
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
642 (autoload 'symbol-macrolet "cl-macs" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
643 (symbol-macrolet ((NAME EXPANSION) ...) FORM...): make symbol macro defns.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
644 Within the body FORMs, references to the variable NAME will be replaced
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
645 by EXPANSION, and (setq NAME ...) will act like (setf EXPANSION ...)." nil 'macro)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
646
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
647 (autoload 'lexical-let "cl-macs" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
648 (lexical-let BINDINGS BODY...): like `let', but lexically scoped.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
649 The main visible difference is that lambdas inside BODY will create
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
650 lexical closures as in Common Lisp." nil 'macro)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
651
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
652 (autoload 'lexical-let* "cl-macs" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
653 (lexical-let* BINDINGS BODY...): like `let*', but lexically scoped.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
654 The main visible difference is that lambdas inside BODY will create
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
655 lexical closures as in Common Lisp." nil 'macro)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
656
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
657 (autoload 'multiple-value-bind "cl-macs" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
658 (multiple-value-bind (SYM SYM...) FORM BODY): collect multiple return values.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
659 FORM must return a list; the BODY is then executed with the first N elements
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
660 of this list bound (`let'-style) to each of the symbols SYM in turn. This
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
661 is analogous to the Common Lisp `multiple-value-bind' macro, using lists to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
662 simulate true multiple return values. For compatibility, (values A B C) is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
663 a synonym for (list A B C)." nil 'macro)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
664
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
665 (autoload 'multiple-value-setq "cl-macs" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
666 (multiple-value-setq (SYM SYM...) FORM): collect multiple return values.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
667 FORM must return a list; the first N elements of this list are stored in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
668 each of the symbols SYM in turn. This is analogous to the Common Lisp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
669 `multiple-value-setq' macro, using lists to simulate true multiple return
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
670 values. For compatibility, (values A B C) is a synonym for (list A B C)." nil 'macro)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
671
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
672 (autoload 'locally "cl-macs" nil nil 'macro)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
673
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
674 (autoload 'the "cl-macs" nil nil 'macro)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
675
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
676 (autoload 'declare "cl-macs" nil nil 'macro)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
677
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
678 (autoload 'define-setf-method "cl-macs" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
679 (define-setf-method NAME ARGLIST BODY...): define a `setf' method.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
680 This method shows how to handle `setf's to places of the form (NAME ARGS...).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
681 The argument forms ARGS are bound according to ARGLIST, as if NAME were
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
682 going to be expanded as a macro, then the BODY forms are executed and must
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
683 return a list of five elements: a temporary-variables list, a value-forms
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
684 list, a store-variables list (of length one), a store-form, and an access-
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
685 form. See `defsetf' for a simpler way to define most setf-methods." nil 'macro)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
686
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
687 (autoload 'defsetf "cl-macs" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
688 (defsetf NAME FUNC): define a `setf' method.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
689 This macro is an easy-to-use substitute for `define-setf-method' that works
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
690 well for simple place forms. In the simple `defsetf' form, `setf's of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
691 the form (setf (NAME ARGS...) VAL) are transformed to function or macro
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
692 calls of the form (FUNC ARGS... VAL). Example: (defsetf aref aset).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
693 Alternate form: (defsetf NAME ARGLIST (STORE) BODY...).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
694 Here, the above `setf' call is expanded by binding the argument forms ARGS
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
695 according to ARGLIST, binding the value form VAL to STORE, then executing
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
696 BODY, which must return a Lisp form that does the necessary `setf' operation.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
697 Actually, ARGLIST and STORE may be bound to temporary variables which are
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
698 introduced automatically to preserve proper execution order of the arguments.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
699 Example: (defsetf nth (n x) (v) (list 'setcar (list 'nthcdr n x) v))." nil 'macro)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
700
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
701 (autoload 'define-modify-macro "cl-macs" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
702 (define-modify-macro NAME ARGLIST FUNC): define a `setf'-like modify macro.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
703 If NAME is called, it combines its PLACE argument with the other arguments
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
704 from ARGLIST using FUNC: (define-modify-macro incf (&optional (n 1)) +)" nil 'macro)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
705
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
706 (autoload 'setf "cl-macs" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
707 (setf PLACE VAL PLACE VAL ...): set each PLACE to the value of its VAL.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
708 This is a generalized version of `setq'; the PLACEs may be symbolic
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
709 references such as (car x) or (aref x i), as well as plain symbols.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
710 For example, (setf (cadar x) y) is equivalent to (setcar (cdar x) y).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
711 The return value is the last VAL in the list." nil 'macro)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
712
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
713 (autoload 'psetf "cl-macs" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
714 (psetf PLACE VAL PLACE VAL ...): set PLACEs to the values VALs in parallel.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
715 This is like `setf', except that all VAL forms are evaluated (in order)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
716 before assigning any PLACEs to the corresponding values." nil 'macro)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
717
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
718 (autoload 'remf "cl-macs" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
719 (remf PLACE TAG): remove TAG from property list PLACE.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
720 PLACE may be a symbol, or any generalized variable allowed by `setf'.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
721 The form returns true if TAG was found and removed, nil otherwise." nil 'macro)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
722
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
723 (autoload 'shiftf "cl-macs" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
724 (shiftf PLACE PLACE... VAL): shift left among PLACEs.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
725 Example: (shiftf A B C) sets A to B, B to C, and returns the old A.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
726 Each PLACE may be a symbol, or any generalized variable allowed by `setf'." nil 'macro)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
727
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
728 (autoload 'rotatef "cl-macs" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
729 (rotatef PLACE...): rotate left among PLACEs.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
730 Example: (rotatef A B C) sets A to B, B to C, and C to A. It returns nil.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
731 Each PLACE may be a symbol, or any generalized variable allowed by `setf'." nil 'macro)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
732
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
733 (autoload 'letf "cl-macs" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
734 (letf ((PLACE VALUE) ...) BODY...): temporarily bind to PLACEs.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
735 This is the analogue of `let', but with generalized variables (in the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
736 sense of `setf') for the PLACEs. Each PLACE is set to the corresponding
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
737 VALUE, then the BODY forms are executed. On exit, either normally or
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
738 because of a `throw' or error, the PLACEs are set back to their original
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
739 values. Note that this macro is *not* available in Common Lisp.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
740 As a special case, if `(PLACE)' is used instead of `(PLACE VALUE)',
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
741 the PLACE is not modified before executing BODY." nil 'macro)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
742
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
743 (autoload 'letf* "cl-macs" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
744 (letf* ((PLACE VALUE) ...) BODY...): temporarily bind to PLACEs.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
745 This is the analogue of `let*', but with generalized variables (in the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
746 sense of `setf') for the PLACEs. Each PLACE is set to the corresponding
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
747 VALUE, then the BODY forms are executed. On exit, either normally or
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
748 because of a `throw' or error, the PLACEs are set back to their original
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
749 values. Note that this macro is *not* available in Common Lisp.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
750 As a special case, if `(PLACE)' is used instead of `(PLACE VALUE)',
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
751 the PLACE is not modified before executing BODY." nil 'macro)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
752
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
753 (autoload 'callf "cl-macs" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
754 (callf FUNC PLACE ARGS...): set PLACE to (FUNC PLACE ARGS...).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
755 FUNC should be an unquoted function name. PLACE may be a symbol,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
756 or any generalized variable allowed by `setf'." nil 'macro)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
757
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
758 (autoload 'callf2 "cl-macs" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
759 (callf2 FUNC ARG1 PLACE ARGS...): set PLACE to (FUNC ARG1 PLACE ARGS...).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
760 Like `callf', but PLACE is the second argument of FUNC, not the first." nil 'macro)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
761
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
762 (autoload 'defstruct "cl-macs" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
763 (defstruct (NAME OPTIONS...) (SLOT SLOT-OPTS...)...): define a struct type.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
764 This macro defines a new Lisp data type called NAME, which contains data
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
765 stored in SLOTs. This defines a `make-NAME' constructor, a `copy-NAME'
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
766 copier, a `NAME-p' predicate, and setf-able `NAME-SLOT' accessors." nil 'macro)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
767
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
768 (autoload 'check-type "cl-macs" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
769 Verify that FORM is of type TYPE; signal an error if not.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
770 STRING is an optional description of the desired type." nil 'macro)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
771
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
772 (autoload 'assert "cl-macs" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
773 Verify that FORM returns non-nil; signal an error if not.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
774 Second arg SHOW-ARGS means to include arguments of FORM in message.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
775 Other args STRING and ARGS... are arguments to be passed to `error'.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
776 They are not evaluated unless the assertion fails. If STRING is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
777 omitted, a default message listing FORM itself is used." nil 'macro)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
778
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
779 (autoload 'ignore-errors "cl-macs" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
780 Execute FORMS; if an error occurs, return nil.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
781 Otherwise, return result of last FORM." nil 'macro)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
782
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
783 (autoload 'define-compiler-macro "cl-macs" "\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
784 (define-compiler-macro FUNC ARGLIST BODY...): Define a compiler-only macro.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
785 This is like `defmacro', but macro expansion occurs only if the call to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
786 FUNC is compiled (i.e., not interpreted). Compiler macros should be used
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
787 for optimizing the way calls to FUNC are compiled; the form returned by
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
788 BODY should do the same thing as a call to the normal function called
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
789 FUNC, though possibly more efficiently. Note that, like regular macros,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
790 compiler macros are expanded repeatedly until no further expansions are
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
791 possible. Unlike regular macros, BODY can decide to \"punt\" and leave the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
792 original function call alone by declaring an initial `&whole foo' parameter
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
793 and then returning foo." nil 'macro)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
794
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
795 ;;;***