For example (is nil ((mac () nil))) returns nil, although the macro expands to nil and this should be equivalent to (is nil nil).
The problem is that when the macro is evaluated, the value of the original form is replaced by the result of the macro expansion and create new nil object.
For example
(is nil ((mac () nil)))
returnsnil
, although the macro expands tonil
and this should be equivalent to(is nil nil)
.The problem is that when the macro is evaluated, the value of the original form is replaced by the result of the macro expansion and create new
nil
object.