This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-07-30
Channels
- # babashka (44)
- # beginners (29)
- # calva (80)
- # cider (11)
- # clara (1)
- # clj-kondo (9)
- # clojure (80)
- # clojure-europe (21)
- # clojure-france (13)
- # clojure-nl (4)
- # clojure-spec (3)
- # clojure-uk (6)
- # clojurescript (72)
- # code-reviews (43)
- # cursive (11)
- # datomic (27)
- # events (13)
- # figwheel-main (12)
- # fulcro (27)
- # graalvm (1)
- # jackdaw (2)
- # kaocha (1)
- # malli (4)
- # meander (13)
- # nrepl (2)
- # pathom (8)
- # re-frame (4)
- # reagent (7)
- # reitit (9)
- # remote-jobs (1)
- # reveal (56)
- # ring-swagger (2)
- # sci (5)
- # shadow-cljs (20)
- # slack-help (2)
- # tools-deps (96)
- # vim (7)
- # xtdb (32)
I’m running in a weird situation where I get this error
(->> [{:a 1 :b 3}] (map (fn [x] (clojure.set/rename-keys x {:a :aa :b :bb}))))
^--- Could not resolve symbol: x [at line 159, column 68]
It only happens in a specific context. I.e. if I move it outside of the context this same code works like it should. Anyone seen something like this before? I’m not sure yet how to replicate it in a simple contextThere are several macros involved and callbacks via reagent, but I’m also passing around the sci context. Maybe I did something bad there
I don’t think it’s the passing of the context, but the macros i’m not sure about. Maybe I’m not forwarding the &env
where I should? I actually don’t know how the &env
should be used. I only see example where it is ignored
I understand, thanks though :) i was hoping for a "maybe this issue". Not sure where to start debugging. I'll workaround it for now and wait untill I have an insight