In the hooks, is there a way to get access to the children of a vector node?
Oh, nvm, I figured it out
Do transducers work as intended in sci?
I'm getting some very strange behavior
Oh never mind.
I was shadowing something.
Hey @borkdude have you thought about making the shadowed-var linter have configuration to include all the clojure vars? I'd like to turn on shadowed-var, but only for clojure.core
Or potentially the configuration would allow specifying namespaces, and not just individual vars.
@suskeyhose yeah, I think specifying namespaces would be the more flexible option. For clojure.core the linters.md doc sugggests also: > To avoid shadowing core vars you can also use :refer-clojure + :exclude in the ns form.
Yeah, I'm aware of that and use it in some of my code, but sometimes I forget that I'm shadowing core when I write something and then stuff breaks when I try to use the version from clojure core (or worse it works when I use the cider debugger because the debugger searches for vars for things in function call position even if those symbols are shadowed, but it doesn't work otherwise)
ok, we can have :include [clojure.core]
and you can unblock things with :exclude [ns]
for example?
Yeah, that looks great to me. 🙂
hmm, that probably won't work, since :include
right now expects simple symbols which are the var names that are shadowed by a binding
so we'll have to make a separate key for it, like :namespaces [...]
Yeah, that makes sense, otherwise we'd have issues with single-segment nses or people who make vars with dots
actually only the first since you can't have bindings with dots, so you can't shadow vars with dots
Oh interesting, I didn't know that.
I guess I'd never tried it before.