[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ** Graded examples of lambda functions in emacs lisp, how to create
From: |
David Kastrup |
Subject: |
Re: ** Graded examples of lambda functions in emacs lisp, how to create hook variable? ** |
Date: |
07 Oct 2002 17:54:10 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
gnuist007@hotmail.com (gnuist) writes:
> In the same way, I ask for GRADED examples of use of lambda. I am sure many
> of you can just cut and paste from your collection. Examples to illustrate
> recursion, etc. And how will you do recursion with/without "LABEL"?
((lambda (f n) (funcall f f n))
(lambda (f n) (if (zerop n) 1 (* n (funcall f f (1- n)))))
5)
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
Email: David.Kastrup@t-online.de