3 ms·
I have just tried it in REPL and got this cryptic error: cljs.user=> (defmacro swap [x] (list (second x) (first x) (last x))) #'cljs.user/swap cljs
by dmitriz 7y ago
I have just tried it in REPL and got this cryptic error:
cljs.user=> (defmacro swap [x] (list (second x) (first x) (last x)))
#'cljs.user/swap
cljs.user=> (swap (1 + 2))
Execution error (Error) at (<cljs repl>:1).
1.call is not a function