This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-02-15
Channels
- # beginners (6)
- # cider (13)
- # cljs-dev (45)
- # cljsrn (1)
- # clojure (11)
- # clojure-france (1)
- # clojurescript (13)
- # cursive (19)
- # data-science (10)
- # datascript (1)
- # datomic (2)
- # docs (8)
- # fulcro (26)
- # graphql (1)
- # hoplon (2)
- # jobs (1)
- # off-topic (5)
- # parinfer (21)
- # re-frame (2)
- # reagent (22)
- # shadow-cljs (3)
- # spacemacs (8)
- # unrepl (1)
(defn foo [l m r lst]
(str l (clojure.string/join m lst) r))
<-- is there no builtin for this? seems like a common string taskI’ve written “surround” string functions many times :)
not in core
It's a bit frustrating that map-entry?
isn't true for map-entries when doing a postwalk...
(walk/postwalk
(fn [x]
(println x (map-entry? x))
x)
{:a "a"})
:a false
a false
[:a a] false
{:a a} false
=> {:a "a"}
just a note that none of you have actually voted for this issue in jira