[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?


((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)))))

Common Lisp: delete the ` and ,

David Kastrup, Kriemhildstr. 15, 44793 Bochum

reply via email to

[Prev in Thread] Current Thread [Next in Thread]