Hacker News new | ask | show | jobs
by Xmd5a 492 days ago
Can you elaborate ? How do you figure it out at runtime ?
1 comments

At run time, you can inspect the current binding of f to see whether it is a macro, function or whatever. In an interpreter with fexprs, it would be late like this. At the time (f ...) is being called, if it was redefined to a fexpr, we go with that. If it is still a function, we call that.