This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-03-06
Channels
- # architecture (25)
- # bangalore-clj (1)
- # beginners (21)
- # boot (45)
- # cljs-dev (38)
- # clojure (272)
- # clojure-austin (7)
- # clojure-finland (7)
- # clojure-france (3)
- # clojure-italy (7)
- # clojure-japan (1)
- # clojure-russia (13)
- # clojure-spec (36)
- # clojure-uk (31)
- # clojurescript (96)
- # core-async (15)
- # cursive (16)
- # datascript (3)
- # datomic (97)
- # emacs (107)
- # hoplon (16)
- # jobs (9)
- # keechma (1)
- # luminus (1)
- # off-topic (19)
- # om (39)
- # onyx (15)
- # pedestal (3)
- # planck (22)
- # protorepl (4)
- # re-frame (20)
- # reagent (3)
- # ring-swagger (25)
- # specter (26)
- # test-check (19)
- # testing (1)
- # untangled (381)
@tolitius I actually just want the keywords
(spfun {:hello {:hi “Hello” :kew :not-included} :included 123})
=> (:hello :hi :kew :included)
(defn spfun [m]
(let [p (recursive-path [] p
(if-path map?
(continue-then-stay MAP-VALS p)))]
(select [p MAP-KEYS] m)
))
do I need to do anything special to be able to use Specter in Clojurescript? when I try to require it like this: (require '[com.rpl.specter :as sp]) I’m seeing bunch of errors
it should work fine
what errors are you seeing?
is that a stack trace?
hmm, it doesn't say an error type or exception type?
oh is this being run with bootstrap?
i'm not sure how boot works
this may be relevant: https://github.com/nathanmarz/specter/issues/136
planck/bootstrap implement macros differently than normal clojurescript, and specter currently doesn't handle this
@ag thanks, just open an issue on github