Is there a way to have joker recognize destructuring in a known-macro
? For example,
(defn f [{:keys [my.place/x]}]
x)
is fine, but a macro that does the same thing is flagged with Parse error: Unable to resolve symbol: x
when using x
.
(macro-def f [{:keys [my.place/x]}]
x)
The code works fine, but looking for a way to let joker know that the macro can destructure like a function.you'll have to "teach" Joker that macro. See https://github.com/candid82/joker/issues/67
Cool, thanks.
Once that is working, I get Parse warning: duplicate require for
the namespace now. Is there a trick to getting rid of that?
that issue is fixed in latest master
I intend to release next week, in the meantime you can build locally (should be pretty straightforward)
Excellent. Thanks … for the help and for the tool.