[Top][All Lists]

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

bug#26635: 回复: bug#26635: 25.1; elisp docs bug

From: zhangjg
Subject: bug#26635: 回复: bug#26635: 25.1; elisp docs bug
Date: Mon, 24 Apr 2017 18:31:17 +0800

Like the fellow code:

  (= 1 1 t) ; error
  (= 1 2 t) ; nil

t is a symbol, (= 1 1 t) signal a error, that is what we expect.
But in the second form there is no error, because  "=" get the
result before to eval the third argument "t".
So "=" not to eval all arguments, that is  a "sepecial form" activation.

------------------ 原始邮件 ------------------
发件人: "Andreas Schwab";<address@hidden>;
发送时间: 2017年4月24日(星期一) 下午5:59
收件人: "zhangjg"<address@hidden>;
抄送: "26635"<address@hidden>;
主题: Re: bug#26635: 25.1; elisp docs bug

On Apr 24 2017, "zhangjg" <address@hidden> wrote:

> In session "3.4 Comparison of Numbers", "=" is a set to a "function" but, in fact it a "special forms".

Why do you think `=' is a special form?


Andreas Schwab, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

reply via email to

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