This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-12-11
Channels
- # adventofcode (116)
- # aleph (10)
- # announcements (2)
- # beginners (67)
- # boot (3)
- # calva (17)
- # cider (8)
- # cljdoc (27)
- # cljsrn (6)
- # clojure (144)
- # clojure-austin (3)
- # clojure-boston (1)
- # clojure-dev (25)
- # clojure-europe (4)
- # clojure-italy (26)
- # clojure-losangeles (4)
- # clojure-nl (28)
- # clojure-russia (1)
- # clojure-uk (34)
- # clojurescript (130)
- # cursive (20)
- # datomic (69)
- # emacs (14)
- # figwheel-main (2)
- # fulcro (31)
- # graphql (3)
- # hyperfiddle (3)
- # jobs (1)
- # jobs-discuss (1)
- # kaocha (1)
- # leiningen (2)
- # lumo (2)
- # nrepl (1)
- # off-topic (182)
- # onyx (5)
- # re-frame (88)
- # reagent (12)
- # reitit (2)
- # ring-swagger (13)
- # shadow-cljs (136)
- # tools-deps (28)
- # vim (4)
Morning
morning
måning
@folcon this might interest you: https://theodi.org/article/invitation-to-tender-the-odi-is-looking-for-an-organisation-to-design-a-decision-making-process-for-two-data-trusts/
I’ve got a dumb question: Can someone explain to me why this happens?
(map #(%) [{:a 2} {:b 3}])
ArityException Wrong number of args (0) passed to: PersistentArrayMap clojure.lang.AFn.throwArity (AFn.java:429)
(map (fn [x] x) [{:a 2} {:b 3}])
=> ({:a 2} {:b 3})
is that shown here? https://github.com/clojure/clojure/blob/06097b1369c502090be6489be27cc280633cb1bd/src/jvm/clojure/lang/LispReader.java#L853
if you did #(identity %)
it would work, no?
haha yes
I was trying to (badly) make the point minimal explained better haha 🙂
It’s just that #(foo ,,,)
applies foo to the args. It’s just sugar for (fn [x] (foo x))
. So the paren in #`(` is like the applying paren in (foo
in the unsugared form.
we're helping