This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-02-11
Channels
- # beginners (2)
- # boot (97)
- # cider (58)
- # cljs-dev (10)
- # cljsrn (7)
- # clojure (79)
- # clojure-austin (4)
- # clojure-brasil (1)
- # clojure-france (1)
- # clojure-russia (42)
- # clojure-spec (12)
- # clojure-uk (22)
- # clojurescript (150)
- # clr (1)
- # conf-proposals (7)
- # core-matrix (2)
- # cursive (4)
- # datomic (9)
- # jobs (2)
- # klipse (28)
- # leiningen (3)
- # lumo (8)
- # nrepl (1)
- # off-topic (28)
- # om (18)
- # om-next (2)
- # perun (17)
- # planck (9)
- # rdf (1)
- # re-frame (18)
- # reagent (7)
- # ring (2)
- # rum (1)
- # specter (11)
- # test-check (3)
- # untangled (1)
- # yada (7)
@zane I assume you're talking about with-fresh-collected
?
it takes in a path as a parameter, which itself needs to be compiled
you make sure the subpath is only compiled once by using defdynamicnav
, which is like a macro to Specter's inline compiler, and late-bound-richnav
which lets you mark the subpath parameter using late-path
to ensure it's compiled once and re-used for every invocation of the callsite
that wiki page I referenced explains the mechanics of what happens at each callsite which will help you understand what these things do
Hi fam. How do I remove a value from a vector using setval
? I've got the path correct, but when I set the value to NONE, I get com.rpl.specter/NONE in the vector. Which does make sense, but that's not what I want 😉
(defn remove-luminati-refs-and-save [f]
(setval [ALL :response :headers [ALL #(re-find #"luminati|hola" (:name %) )]] NONE f)
)
@bradford setting a value to NONE
to remove it is implemented in master but not released yet
I think 0.13.3-SNAPSHOT on clojars has it though