This repository was archived by the owner on May 23, 2021. It is now read-only.

Description
- define a macro that returns
[] on expansion : (def my-macro (macro* [& rest] []))
- create a list that would invoke
my-macro when evaluated: (def a-list '(my-macro 1 2 "hello"))
a-list represents the list (my-macro 1 2 "hello")
- evaluate the list:
(eval a-list)
- check the value of
a-list which is now result of macro expansion (i.e., (do [])) instead of its original value (my-macro 1 2 "hello").