| Newsgroups |
gmane.emacs.help |
| Message-ID |
<[email protected]> |
Heime <[email protected]> writes:
> I want to handle the recursion situation when list is too big.
> What would be the best plan when it is too long? Catch the error
> if it happens and continue with nonlocal exit than continues with
> cl-every? Of compute the length beforehand?
>
1. If someone does not provide a recursive solution to your
question, then you might consider writing an iterative
solution using ‘dolist’ or ‘while’ or ‘do’.
(info "(elisp) Iteration")
2. Besides ‘cl-every’, you could write a solution using
‘cl-find-if’ or ‘cl-find-if-not’ or ‘cl-notany’.
--
The lyf so short, the craft so long to lerne.
- Geoffrey Chaucer, The Parliament of Birds.