Fork me on GitHub
#clojure
<
2018-02-15
>
qqq22:02:11

(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 task

alexmiller22:02:58

I’ve written “surround” string functions many times :)

andnils22:02:02

How do I set the logging level in ring (jetty adapter)?

andnils22:02:51

I tried to add jetty-logging.properties to classpath, but no…

kenny23:02:51

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"}

bronsa23:02:10

it's super annoying I agree

alexmiller03:02:08

just a note that none of you have actually voted for this issue in jira

bronsa09:02:28

I think I have the most votes in jira, this one must have slipped through :) fixed tho thanks