logoalt Hacker News

Gödel, Escher, Elisp: The Beauty of Macros

34 pointsby JNRowe08/04/202611 commentsview on HN

Comments

mekentoday at 3:52 PM

> To anticipate a common question: why couldn't my-unless be a function? Function arguments are evaluated eagerly, before the function ever sees them.

Interesting, so if you’re using a lazy language then you don’t need a macro here and could write my-unless as a function.

show 3 replies
kimitoday at 3:50 PM

Remember the golden rule of Lisp macros: don't write a macro.

show 1 reply
thisisauseridtoday at 4:39 PM

I always thought it odd that Penrose gets dropped from the Escher conversations.

KeenanKeenantoday at 3:45 PM

If macros can implement arbitrary language features then how come elisp has never built a type system?

show 3 replies