diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2019-03-03 10:51:38 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2019-03-03 10:51:38 -0800 |
commit | 7f07e5ed29085c46144c0a2967c1827dc2645f22 (patch) | |
tree | 0be33183f8fe633c2d9a19f5e4f2cbebc8739bda /stream.c | |
parent | 94b999ab6e5ec11ed9b06a7c50f45cead6ded9fc (diff) | |
download | txr-7f07e5ed29085c46144c0a2967c1827dc2645f22.tar.gz txr-7f07e5ed29085c46144c0a2967c1827dc2645f22.tar.bz2 txr-7f07e5ed29085c46144c0a2967c1827dc2645f22.zip |
lambda expressions aren't fboundp.
We don't want (fboundp '(lambda ...)) to be true, or
(symbol-function '(lambda ...)) to yield a function.
This also fixes funny print formatting of lambda
expressions.
* eval.c (lookup_fun): Do not recognize lambda expressions.
Also, return nil for unknown syntax; don't bother looking
it up in the hashes.
(do_eval): We now have to check for a lambda expression in the
car position to evaluate it; lookup_fun will no longer do
that.
(op_fun): The interpreted fun oprator must also check for
lambda itself.
(do_expand): A small code change is required here to avoid
spuriously warning about a lambda in the car position.
Diffstat (limited to 'stream.c')
0 files changed, 0 insertions, 0 deletions