|
From: | Emanuel Berg |
Subject: | Re: Closures - do you understand them well? |
Date: | Sat, 10 Dec 2022 11:02:04 +0100 |
User-agent: | Gnus/5.13 (Gnus v5.13) |
Tassilo Horn wrote: > Apparently it works although I don't see why. Where's the > difference to this inlined version which returns (101 ... > 101)? > > (let ((i 0) (funs)) > (while (<= (cl-incf i) 100) > (push (lambda (&rest args2) > (apply #'identity (append (list i) args2))) > funs)) > (mapcar #'funcall (nreverse funs))) I doesn't work for me and I also don't see why ... (101 ... 101) -- underground experts united https://dataswamp.org/~incal
[Prev in Thread] | Current Thread | [Next in Thread] |