|
From: | Stefan Monnier |
Subject: | bug#6835: 23.2; eval'ing `type-of' with #[abc] as arg gets a Fatal error (11) Segmentation fault |
Date: | Wed, 11 Aug 2010 22:20:24 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
>> Yes and no. Should (lambda 3) be accepted by functionp? What about >> (lambda () . 3) ? What about (lambda () (+ . 1)) and other errors? > I don't see why those examples should satisfy functionp. The Elisp > manual says: Because (lambda () 1) is a valid function that can be passed to `funcall'. > I think your examples are merely cons objects that look like lambda > expressions (a function subtype) but are not. They're both cons objects and functions. > But it is useful to know whether the error is signaled by funcall or > by the function. Why? Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |