JanetDocsPlaygroundI'm feeling luckyGitHub sign in
(defmacro inner [x] ~(do [,x (* ,x ,x)])) (defmacro outer [n] (map |~(inner ,$0) (range n))) # Hints: # # * Quote the argument. # * Because it's quoted, the argument can have undefined symbols. # * Compare the result of `macex` with `macex1`. # * If needed, print the result with `pp`. # (macex '(outer 10))