This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-06-01
Channels
- # beginners (133)
- # boot (59)
- # cider (5)
- # cljs-dev (30)
- # cljsrn (23)
- # clojure (212)
- # clojure-austin (3)
- # clojure-brasil (1)
- # clojure-chicago (5)
- # clojure-italy (10)
- # clojure-russia (5)
- # clojure-serbia (1)
- # clojure-spec (34)
- # clojure-turkiye (2)
- # clojure-uk (132)
- # clojurescript (163)
- # clojutre (1)
- # cursive (5)
- # datomic (58)
- # emacs (42)
- # events (1)
- # graphql (26)
- # hoplon (16)
- # jobs (1)
- # lumo (27)
- # numerical-computing (3)
- # off-topic (127)
- # om (9)
- # onyx (24)
- # re-frame (20)
- # reagent (20)
- # ring-swagger (14)
- # sql (19)
- # unrepl (28)
- # untangled (3)
- # vim (8)
- # yada (17)
yes !
@dimovich do you have an issue with that ?
@jvuillermet trying to wrap my head around it 🙂
no problem, I’m free to answer any question if you have
If I want to test a reg-fx effectful handler at the repl, is there anyway I can process my coeffects {:db .... :http ... <my-fx>:<my-fx-data>}
directly without registering a new handler?
Wouldn't the second one be this?
(reg-sub
:item
:<- [:items]
(fn [items [_ id]]
(id items)))
@bradleesand you're right!
Also I think the last one would be (fn [item] (:font item))
@dimovich yes, that now looks right
Personal preference but I'd write that filter as (filter :dom (vals items))
I don't think that'd work cuz then you'd lose the k->v relationship