This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-08-22
Channels
- # admin-announcements (4)
- # bangalore-clj (1)
- # beginners (28)
- # boot (16)
- # clara (4)
- # cljs-dev (28)
- # cljsrn (63)
- # clojure (136)
- # clojure-berlin (7)
- # clojure-gamedev (1)
- # clojure-nl (4)
- # clojure-russia (47)
- # clojure-sg (8)
- # clojure-spec (39)
- # clojure-uk (132)
- # clojurescript (66)
- # clojurex (5)
- # clojutre (2)
- # code-reviews (14)
- # core-logic (1)
- # cursive (13)
- # datavis (1)
- # datomic (35)
- # dirac (1)
- # editors (1)
- # hoplon (46)
- # jobs (1)
- # lambdaisland (5)
- # lein-figwheel (1)
- # mount (10)
- # off-topic (3)
- # om (67)
- # onyx (54)
- # planck (7)
- # proton (15)
- # protorepl (1)
- # re-frame (174)
- # ring (4)
- # ring-swagger (3)
- # specter (14)
- # untangled (15)
@nathanmarz: do you have any posts on what makes specter faster than drilling with built in functions, or should I just read the code?
@yonatanel it may help to look at the source code of get-in
/ update-in
, or macroexpanding a call to select
or transform
@yonatanel take a look at this as well https://github.com/nathanmarz/specter/wiki/Specter-0.11.0:-Performance-without-the-tradeoffs
@nathanmarz my one major complaint dealing with specter so far is it is very difficult to know where functions / macros are coming from, which are which etc. Reading an example I have to guess and check to figure out which is which. I still can't even find that function "traverse" in either macros or the main com.rpl.specter
Is there any definitive require statement(s) to just import everything specter related?
@mattsfrey traverse is in specter 0.12.0
I use this to get everything into a single namespace in my projects https://github.com/ztellman/potemkin/blob/master/src/potemkin/namespaces.clj
there's also https://github.com/nathanmarz/specter/wiki/List-of-Macros and https://github.com/nathanmarz/specter/wiki/List-of-Navigators
@mattsfrey fyi, that code would work the same with select
, just less efficiently