Beautiful Andy! Can you confirm that last syntax for me?
I see it as treating the anonymous function of #(.contains value %) as the predicate to check on every member of the vector?
But anonymous function expansion is what throws me off... I need layman's terms (grandma speak) to break down the logic there. Specifically, there must be some wiring of the vector members to the % placeholder?
Ahhh! I guess that what does that actual wiring is the every? function ... "for every x in coll"
So this is just a simple every? invocation I guess.
And I assume that
some would be like an or/coalesce, kinda in my usecase ?
(some #(.contains value %) ["CBS" "Bar" "cat"])
It worked by the way. See screenshot attached.
Still learning a few ropes on Clojure (and I still can't get the stupid nrepl to initialize in my
Visual Studio Code with leiningen so that doesn't help my learning when I don't have a real dev environment that I can learn Clojure against. Would love someone to help me with that)
Finally, how can I send you a tip or payment for this help?