This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-08-23
Channels
- # beginners (55)
- # boot (37)
- # braid-chat (1)
- # chestnut (3)
- # cider (4)
- # clara (22)
- # cljs-dev (54)
- # cljsrn (3)
- # clojure (114)
- # clojure-italy (12)
- # clojure-losangeles (3)
- # clojure-portugal (1)
- # clojure-russia (1)
- # clojure-spec (30)
- # clojure-uk (67)
- # clojure-ukraine (1)
- # clojurescript (101)
- # core-async (11)
- # cursive (6)
- # data-science (27)
- # datomic (8)
- # figwheel (3)
- # fulcro (59)
- # graphql (2)
- # hoplon (89)
- # jobs (3)
- # jobs-rus (1)
- # leiningen (3)
- # lumo (19)
- # off-topic (9)
- # om (48)
- # pedestal (2)
- # portkey (4)
- # protorepl (19)
- # re-frame (13)
- # reagent (38)
- # remote-jobs (1)
- # ring-swagger (4)
- # spacemacs (10)
- # specter (2)
Elapsed very long time for (require '[clojure.core.async])
. For my machine(Mac Pro, 16G mem), it’s need 3+ seconds
namely, its dependency clojure.tools.analyzer.jvm. most of a whole compiler, written in clojure
I’m getting a weird error
(require ‘[clojure.core.async :as async])
CompilerException java.lang.Exception: No namespace: clojure.core.memoize, compiling:(clojure/tools/analyzer/jvm/utils.clj:1:1)
nvm, it seems an old clj-webdriver included a previous version of core.cache which caused the problem
am i missing an obvious solution? is there a generic way to adapt a sequence-returning function to a transducer function which injects each item onto the rf
?
example transducer:
(comp (map :string-property)
(map clojure.string/split-lines)
(filter some-pred))
In this example, the second step will split the lines, but it will pass the entire sequence as one chunk to the filter step, rather than individual items.
I feel like I am missing something obvious.thanks @alexmiller. i knew I was forgetting something