Closed Invertisment closed 2 years ago
Your inclusion of aniseed.core
under the alias a
is being overridden by your argument to the function a
. So you need to either change your aniseed.core
alias or your function argument name. Unlike Clojure etc there is no separate idea of modules, so a require will clash with a variable name. Unlike Clojure where [foo :as bar]
will not collide bar/...
with an argument name.
Ooof. Thanks. I tried to pass this function into reduce
and it didn't work either. But yes, I was using that same a
name. One letter imports are not a good idea.
Is this intended?
When I try to do this (to reverse my order of reduction) then I can't do it:
This message appears:
My workaround is to use this (when reducing with merge):