3 ms·
I don't even remember when was the last time I saw eval being used outside of the macros. And the latter is also quite a specific and rare use case.
by sklogic 10y ago
I don't even remember when was the last time I saw eval being used outside of the macros. And the latter is also quite a specific and rare use case.
- _ph_ 10y agoAnd I don't remember when I saw an "eval" used inside a macro either. There are almost no reasons to use "eval" in any Common Lisp program.
- sklogic 10y agoA use case for eval inside a macro is, for example, when you want to evaluate into a constant some part of a code constructed by this macro, but you do not want to do macro staging for whatever reason. I only did it a couple of times.