help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: add-hook


From: Thien-Thi Nguyen
Subject: Re: add-hook
Date: Thu, 07 Jun 2007 16:01:12 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux)

() Sebastian Tennant <address@hidden>
() Thu, 07 Jun 2007 13:00:44 +0300

   (info "(elisp)Anonymous Functions"):

     In Lisp, a function is a list that starts with `lambda', a byte-code
     function compiled from such a list, or alternatively a primitive
     subr-object; names are "extra."

you can test this in *scratch*:

((lambda (n) (+ n (* n n))) 6)

(funcall (byte-compile (lambda (n) (+ n (* n n)))) 6)

thi


reply via email to

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