3 ms·
Paul Graham called these "anaphoric" macros in On LISP.
by cryptonector 8y ago
Paul Graham called these "anaphoric" macros in On LISP.
- stevelosh 8y agoThe "anaphora" in "anaphoric" typically refers to how it binds the variable "it" automatically, without having to specify the variable name. Since if-let and when-let require you to explicitly specify the variable name, I don't think most people would consider them anaphoric macros. https://en.wikipedia.org/wiki/Anaphoric_macro https://en.wikipedia.org/wiki/Anaphoric_macro If you want actual anaphoric macros in CL, here they are: https://www.common-lisp.net/project/anaphora/ https://www.common-lisp.net/project/anaphora/