You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's not that hard when writing a macro to accidentally wind up generating code that has an actual function object where there should be an s-expression. Badly contrived example:
(defmacro add2 [x]
`(~+ ~x 2))
This will work even though the author probably should have written
(defmacro add2 [x]
`(+ ~x 2))
It'd be nice to have a clear warning about this.
The text was updated successfully, but these errors were encountered:
It's not that hard when writing a macro to accidentally wind up generating code that has an actual function object where there should be an s-expression. Badly contrived example:
This will work even though the author probably should have written
It'd be nice to have a clear warning about this.
The text was updated successfully, but these errors were encountered: