[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] unsafep: Add support for (funcall)
From: |
Stefan Monnier |
Subject: |
Re: [PATCH] unsafep: Add support for (funcall) |
Date: |
Mon, 27 Feb 2017 15:56:16 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
> The following patch makes (unsafep) check funcall forms. Right now,
> it only works while calling side-effect-free functions like car and cdr.
> In the future, I'd like to extend this to add support for looking up and
> checking (symbol-function) for other functions too.
Hmm... I don't quite get it:
(funcall '<sym> ...)
is better written as
(<sym> ...)
so why/when do you see such code? Could we rewrite it before unsafep
gets to look at it.
Stefan