This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-07-20
Channels
- # admin-announcements (15)
- # announcements (1)
- # beginners (10)
- # boot (39)
- # bristol-clojurians (2)
- # clojure (146)
- # clojure-canada (1)
- # clojure-gamedev (8)
- # clojure-italy (2)
- # clojure-japan (16)
- # clojure-korea (1)
- # clojure-poland (1)
- # clojure-russia (20)
- # clojure-spain (3)
- # clojurebridge (5)
- # clojurescript (104)
- # core-typed (2)
- # datomic (80)
- # indycljs (1)
- # jobs (1)
- # ldnclj (31)
- # off-topic (15)
- # om (21)
- # onyx (7)
- # ox (9)
- # re-frame (2)
- # reagent (16)
Hmm, when trying to require core.async I get this behavior:
user=> (require '[clojure.core.async :as a])
CompilerException java.lang.Exception: No namespace: clojure.core.memoize, compiling:(clojure/tools/analyzer/jvm/utils.clj:1:1)
That's with:
[org.clojure/clojure "1.6.0"]
[org.clojure/core.async "0.1.346.0-17112a-alpha"]
try adding core.memoize to your deps?
@escherize: What you wrote works just fine for me in a new project
Do you have any additional plugins?
Specifically some around profiling, as the issue is coming from clojure.tools.analyzer.jvm
Working with clj-pdf, and I’m not sure the right way to conditionally add a series of elements. Something along the lines of:
(if true
[[:chunk “List Header"]]
[[:list {:symbol ""}
[:chunk {:style :italic} “List Item 1"]]]
)
But, only the first form is returned, because the second is what would be returned if the if statement were false