All I've found so far about macros is
http://www.shenlanguage.org/Documentation/shendoc.htm#Reader Macros
http://www.shenlanguage.org/learn-shen/macros.html
Is there more information anywhere?
For example:
1) How would one put [ and ] (list shorthand?) inside a macro
definition since it appears they are converted to parens?
2) Is there a shorthand for having a single macro expand out to
multiple top level expressions? I suppose I could use some form of
map/fold or something but, just wondering if there was something
simpler
3) with (tc +) I get my-macro "lacks a proper signature" error or a
type error. What should the signature be? For example, I tried this:
(defmacro testm {number --> number} [add2 N] -> [+ 2 N])
Also, I don't see datatype listed in system functions or primitives. I
grepped the shen source and found it in macros.shen. But it doesn't
have a type signature specified for it. What would it be?