[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#23550: 25.0.93; cl.texi (for var on list by func): Fix documentation
From: |
Tino Calancha |
Subject: |
bug#23550: 25.0.93; cl.texi (for var on list by func): Fix documentation |
Date: |
Fri, 31 Mar 2017 17:20:31 +0900 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
npostavs@users.sourceforge.net writes:
> Tino Calancha <tino.calancha@gmail.com> writes:
>
>> It might be useful rewrite that part to make it more clear, but i don't
>> have a clear proposal.
>
> Actually, looking at this some more, I think you should just apply your
> patch that removes this stuff completely. It's much clearer to write
> that sort of example as
>
> (cl-loop for y = "lion" then (next-prey y)
> while y collect y)
>
> And looking down the page, `for VAR = EXPR1 then EXPR2' is already
> explained well enough (as well as the equivalence to the `for VAR on
> LIST by FUNCTION' form).
Thank you.
Pushed fix into emacs-25 branch with commit:
3f0d047d2eb1fb59be2ff962c01392d8c808a654