[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: EWMH package, please review.
From: |
David Kastrup |
Subject: |
Re: EWMH package, please review. |
Date: |
18 Oct 2003 20:05:22 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
"Jan D." <address@hidden> writes:
> Thien-Thi Nguyen wrote:
> > From: "Jan D." <address@hidden>
> > Date: Mon, 13 Oct 2003 06:30:54 +0200
> > I was told to avoid setq when I learned lisp :-).
> > but whoever told you that was doing a setq on your brain,
> > so why would you trust that advice w/o question?
>
> It was functional programming that we used Lisp for (never reassign
> variables, among other things), so it kind of stuck. And there was
> questions asked at the time :-).
You mean things like doing recursion without having a lexical
possibility to let a lambda function refer to itself?
Emacs-Lisp:
((lambda (f g n) (funcall g (funcall f f g) n))
(lambda (f g) `(lambda (n) (,g (funcall ,f ,f ,g) n)))
(lambda (f n) (if (zerop n) 1 (* n (funcall f (1- n)))))
5)
Common Lisp: delete the ` and ,
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
- EWMH package, please review., Jan D., 2003/10/12
- Re: EWMH package, please review., Kim F. Storm, 2003/10/12
- Re: EWMH package, please review., Miles Bader, 2003/10/12
- Re: EWMH package, please review., Jan D., 2003/10/13
- Re: EWMH package, please review., David Kastrup, 2003/10/13
- Re: EWMH package, please review., Thien-Thi Nguyen, 2003/10/13
- Re: EWMH package, please review., Jan D., 2003/10/18
- Re: EWMH package, please review.,
David Kastrup <=
- Re: EWMH package, please review., David Kastrup, 2003/10/18
- Re: EWMH package, please review., Jan D., 2003/10/27
Re: EWMH package, please review., Richard Stallman, 2003/10/13