|
|
|
|
|
by malisper
4100 days ago
|
|
> you can't have a macro that expands differently in different contexts This[0] may be of some help. You could set it to expand macros differently according to the current context (some global variable). You could also write your own macroexpand function which would default to the implementation's macroexpand. This is definitely something interesting to think about. Thank you for the discussion. [0] http://www.ai.mit.edu/projects/iiip/doc/CommonLISP/HyperSpec... |
|
Here's a more thorough summary of the problem: http://qiita.com/guicho271828/items/07ba4ff11bff494dc03f