[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#14674: 24.3; concat is missing from loop help
From: |
Glenn Morris |
Subject: |
bug#14674: 24.3; concat is missing from loop help |
Date: |
Thu, 20 Jun 2013 11:28:51 -0400 |
User-agent: |
Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
JuanLeon Lahoz wrote:
> (loop repeat 3 concat "foo") works as expected.
>
> However, help for loop does not mention it:
>
> loop is an alias for `cl-loop' in `cl.el'.
>
> (loop CLAUSE...)
>
> The Common Lisp `loop' macro.
> Valid clauses are:
Thanks for the report. In the current trunk it says:
The Common Lisp `loop' macro.
Valid clauses include:
For clauses:
for VAR from/upfrom/downfrom EXPR1 to/upto/downto/above/below EXPR2
by EXPR3
for VAR = EXPR1 then EXPR2
for VAR in/on/in-ref LIST by FUNC
for VAR across/across-ref ARRAY
for VAR being:
the elements of/of-ref SEQUENCE [using (index VAR2)]
the symbols [of OBARRAY]
the hash-keys/hash-values of HASH-TABLE [using
(hash-values/hash-keys V2)]
the key-codes/key-bindings/key-seqs of KEYMAP [using (key-bindings VAR2)]
the overlays/intervals [of BUFFER] [from POS1] [to POS2]
the frames/buffers
the windows [of FRAME]
Iteration clauses:
repeat INTEGER
while/until/always/never/thereis CONDITION
Accumulation clauses:
collect/append/nconc/concat/vconcat/count/sum/maximize/minimize FORM
[into VAR]
Miscellaneous clauses:
with VAR = INIT
if/when/unless COND CLAUSE [and CLAUSE]... else CLAUSE [and CLAUSE...]
named NAME
initially/finally [do] EXPRS...
do EXPRS...
[finally] return EXPR
For more details, see Info node `(cl)Loop Facility'.