This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-10-23
Channels
- # beginners (22)
- # cider (6)
- # clara (1)
- # cljs-dev (77)
- # clojure (23)
- # clojure-austin (5)
- # clojure-dusseldorf (1)
- # clojure-france (16)
- # clojure-nl (1)
- # clojure-poland (1)
- # clojure-russia (26)
- # clojure-spec (5)
- # clojurescript (120)
- # datomic (1)
- # events (1)
- # hoplon (158)
- # leiningen (5)
- # off-topic (2)
- # om (24)
- # onyx (19)
- # other-languages (1)
- # ring-swagger (4)
- # sql (1)
- # vim (1)
Couldn't find a "how to" style guide but did you already find the doc? https://github.com/boot-clj/boot/blob/master/doc/boot.task.built-in.md#push
I have this in my repl:
ve=> g
#object[scala.tools.nsc.Global 0x39436bc6 "scala.tools.nsc.Global@39436bc6"]
ve=>
and I would like to do something like this scala> (new g.Run).compile(List("a.scala"))
tried this:
(.-Run g)
java.lang.IllegalArgumentException: No matching field found: Run for class scala.tools.nsc.Global
no:
ve=> (.Run g)
java.lang.IllegalArgumentException: No matching field found: Run for class scala.tools.nsc.Global
Quick question: this comes up when I load my repl, I don't recall adding anything in regards to logging or SLF4J or whatever. How do I remove it?
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See for further details.
There still is no leiningen native way to rewrite/relocate packages like maven shade can do, right?
@eslachance Looks like you have SLF4j in your classpath (verify with lein deps :tree
) you can probably just ignore it, or add [org.slf4j/slf4j-simple “1.7.5”]
dependency to have simple logging anyway
In the latter case, make sure the slf4j-simple version matches the slf4j-api version you already have
hivemind, does clojure.spec discourage us to use property based testing? seems fdef already did it.
Added a question on pretty print https://groups.google.com/forum/#!topic/clojure/ZB-nSiFH3uw
Is (apply max-key f coll)
the preferred way to find the x in coll for which (f x)
is greatest
How (meta '^{:bar "foo"} Obj)
is translated into this (meta (with-meta 'Obj {:bar "foo"} ))
why quote macro is evaluated after meta macro? Is there any reader macro evaluation order?
jotaro: are you asking why ^:foo 'bar
doesn't work?
whenever I start my program using lein run
it prints something like 2016-10-23 19:08:42.915:INFO::main: Logging initialized @3725ms
. I guess it is one my my dependencies being initialized and hence its logging. Any suggestions on how to find the culprit?
patrkris: lein deps :tree
can tell you which deps are using logging libs
bugeats: (inch 123)