@@ -2080,7 +2080,7 @@ source sequences.
2080
2080
library =seq.el=.
2081
2081
#+end_quote
2082
2082
2083
- This command also has the aliases =seqing = and =sequencing =.
2083
+ This command also has the aliases =sequencing = and =seqing =.
2084
2084
2085
2085
=KEYS= is one or several of =from=, =upfrom=, =downfrom=, =to=, =upto=,
2086
2086
=downto=, =above=, =below=, =by=, =test=, and =index=. =index= names the
@@ -2235,33 +2235,26 @@ same keywords as the =numbers= command ([[#numeric-iteration]]) for working with
2235
2235
the index and choosing a range of the sequence elements through which to
2236
2236
iterate.
2237
2237
2238
+ #+findex: sequence-index
2239
+ #+findex: sequencing-index
2238
2240
#+findex: seq-index
2239
- #+findex: seqi
2240
2241
#+findex: seqing-index
2241
- #+findex: sequencing-index
2242
- #+findex: seqi
2243
2242
#+findex: array-index
2244
2243
#+findex: arraying-index
2245
- #+findex: arrayi
2246
2244
#+findex: list-index
2247
2245
#+findex: listing-index
2248
- #+findex: listi
2249
2246
#+findex: string-index
2250
2247
#+findex: stringing-index
2251
- #+findex: stringi
2252
- - =(seq-index VAR EXPR &key KEYS)= :: Iterate through the indices of =EXPR=.
2248
+ - =(sequence-index VAR EXPR &key KEYS)= :: Iterate through the indices of =EXPR=.
2253
2249
2254
2250
There is only one implementation of this command; there are no
2255
2251
type-specific versions. This command also has the following aliases:
2256
- - =array-index=, =arraying-index=, =arrayi=
2257
- - =list-index=, =listing-index=, =listi=
2258
- - =string-index=, =stringing-index=, =stringi=
2259
- - =sequence -index=, =sequenceing -index=, =sequencei=, =seqi =, =seqing-index=
2252
+ - =array-index=, =arraying-index=
2253
+ - =list-index=, =listing-index=
2254
+ - =string-index=, =stringing-index=
2255
+ - =sequencing -index=, =seq -index=, =seqing-index=
2260
2256
2261
2257
2262
- The aliases =seqi=, =arrayi=, =listi=, and =stringi= are similar to the
2263
- aliases =seqf=, =arrayf=, =listf=, and =stringf= of the =seq-ref= command.
2264
-
2265
2258
=KEYS= is one or several of =from=, =upfrom=, =downfrom=, =to=, =upto=,
2266
2259
=downto=, =above=, =below=, =by=, and =test=. For their meaning, see the
2267
2260
=numbers= command. This command is very similar to =numbers=, except that it
@@ -2290,7 +2283,7 @@ iterate.
2290
2283
2291
2284
#+begin_src emacs-lisp
2292
2285
;; => (0 1 2)
2293
- (loopy (seq -index i [1 2 3])
2286
+ (loopy (sequence -index i [1 2 3])
2294
2287
(collect i))
2295
2288
2296
2289
;; => (0 1 2)
@@ -2303,7 +2296,7 @@ iterate.
2303
2296
2304
2297
;; => (8 6 4 2)
2305
2298
(loopy (with (my-seq [0 1 2 3 4 5 6 7 8 9 10]))
2306
- (seq -index idx my-seq :from 8 :downto 1 :by 2)
2299
+ (sequence -index idx my-seq :from 8 :downto 1 :by 2)
2307
2300
(collect (elt my-seq idx)))
2308
2301
#+end_src
2309
2302
@@ -2365,17 +2358,13 @@ they also have an =index= keyword, which names the variable used to store
2365
2358
the accessed index during the loop.
2366
2359
2367
2360
#+findex: array-ref
2368
- #+findex: arrayf
2369
2361
#+findex: string-ref
2370
- #+findex: stringf
2371
2362
#+findex: arraying-ref
2372
- #+findex: arrayingf
2373
2363
#+findex: stringing-ref
2374
- #+findex: stringingf
2375
- #+findex: across-ref
2376
- - =(array-ref|arrayf|string-ref|stringf VAR EXPR &key KEYS)= :: Loop
2377
- through the elements of the array =EXPR=, binding =VAR= as a ~setf~-able
2378
- place.
2364
+ - =(array-ref|string-ref VAR EXPR &key KEYS)= :: Loop through the elements of
2365
+ the array =EXPR=, binding =VAR= as a ~setf~-able place.
2366
+
2367
+ This command also has the aliases =arraying-ref= and =stringing-ref=.
2379
2368
2380
2369
=KEYS= is one or several of =from=, =upfrom=, =downfrom=, =to=, =upto=,
2381
2370
=downto=, =above=, =below=, =by=, and =index=. =index= names the variable
@@ -2404,12 +2393,11 @@ the accessed index during the loop.
2404
2393
2405
2394
#+findex: list-ref
2406
2395
#+findex: listing-ref
2407
- #+findex: listf
2408
- #+findex: listingf
2409
- #+findex: in-ref
2410
- - =(list-ref|listf VAR EXPR &key by)= :: Loop through the elements of
2411
- the list =EXPR=, binding =VAR= as a ~setf~-able place. Optionally, update
2412
- the list via function =by= instead of ~cdr~.
2396
+ - =(list-ref VAR EXPR &key by)= :: Loop through the elements of the list =EXPR=,
2397
+ binding =VAR= as a ~setf~-able place. Optionally, update the list via
2398
+ function =by= instead of ~cdr~.
2399
+
2400
+ This command also has the aliases =listing-ref=.
2413
2401
2414
2402
#+BEGIN_SRC emacs-lisp
2415
2403
;; => (7 7 7)
@@ -2439,11 +2427,11 @@ the accessed index during the loop.
2439
2427
2440
2428
#+findex: map-ref
2441
2429
#+findex: mapping-ref
2442
- #+findex: mapf
2443
- #+findex: mappingf
2444
- - =(map-ref|mapf VAR EXPR &key key unique)= :: Loop through the values of
2445
- map =EXPR=, binding =VAR= as a ~setf~-able place. Like the command =map=,
2446
- this command uses the =map.el= library .
2430
+ - =(map-ref VAR EXPR &key key unique)= :: Loop through the values of map =EXPR=,
2431
+ binding =VAR= as a ~setf~-able place. Like the command =map=, this command
2432
+ uses the =map.el= library.
2433
+
2434
+ This command also has the aliases =mapping-ref= .
2447
2435
2448
2436
=key= is a variable in which to store the current key for the ~setf~-able
2449
2437
place referred to by =VAR=. This is similar to the =index= keyword parameter
@@ -2492,16 +2480,14 @@ the accessed index during the loop.
2492
2480
#+end_src
2493
2481
2494
2482
#+findex: seq-ref
2495
- #+findex: seqf
2496
2483
#+findex: sequence-ref
2497
2484
#+findex: sequencing-ref
2498
- #+findex: sequencef
2499
- #+findex: sequencingf
2500
- #+findex: elements-ref
2501
- - =(sequence-ref|sequencef|seq-ref|seqf VAR EXPR &key KEYS)= :: Loop
2485
+ - =(sequence-ref|seq-ref VAR EXPR &key KEYS)= :: Loop
2502
2486
through the elements of the sequence =EXPR=, binding =VAR= as a
2503
2487
~setf~-able place.
2504
2488
2489
+ This command also has the aliases =sequencing-ref=.
2490
+
2505
2491
=KEYS= is one or several of =from=, =upfrom=, =downfrom=, =to=, =upto=,
2506
2492
=downto=, =above=, =below=, =by=, =test=, and =index=. =index= names the
2507
2493
variable used to store the index being accessed. For others, see the
0 commit comments