This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-07-28
Channels
- # aleph (1)
- # arachne (4)
- # beginners (13)
- # boot (18)
- # clara (7)
- # cljs-dev (156)
- # cljsrn (278)
- # clojure (163)
- # clojure-conj (5)
- # clojure-dev (1)
- # clojure-losangeles (1)
- # clojure-poland (2)
- # clojure-sg (1)
- # clojure-spec (15)
- # clojure-uk (17)
- # clojurescript (275)
- # data-science (5)
- # datomic (23)
- # emacs (10)
- # leiningen (1)
- # lumo (16)
- # off-topic (98)
- # onyx (10)
- # parinfer (83)
- # re-frame (18)
- # reagent (47)
- # remote-jobs (1)
- # ring (1)
- # ring-swagger (5)
- # rum (6)
- # specter (8)
- # vim (5)
@moogey The docstrings mostly tell you this. When you're in the REPL (which should be pretty much always, right?), then (clojure.repl/doc some-name)
is always your friend (as is (clojure.repl/source some-name)
-- and most editors with REPL integration have shortcuts for both).
Hi, I would like to get a little help. I read in books and many places possible to do this. I don’t know what is the problem on the OSx. I try load ns in repl (not just empty ns) with (load "man_namespace/hello")
and (in-ns 'man...)
what is the problem? (before this I loaded manually the full source, but I would like to find a quicker and smarter solution)
I got everytime CompilerException java.lang.RuntimeException: No such namespace:
error message.
How is the ns declared at the top of src/man_namespace/hello.clj
?
Guys, can someone help with http-kit
issue:
I am doing multiple async GET calls and in callbacks I am doing another sync call
And this get stuck on first calls:
(->> (range 0 4)
(mapv (fn [i]
(http/get " "
(fn [res]
(info "first callback")
(let [res @(http/get " ")]
(info "second callback ")))))))
It print out 4s first callback messages and then stuck
If I change the range to 0..3 it works, sync version also worksHi everyone i'm newish and trying to understand how to use the repl. I am using (load "") to load my file and then (in-ns ' ) and I load my file I am working against. When I make changes what is the preferred way to reload? Is there some sort of watcher I can leverage?
@dfcarpenter I recommend taking a look at https://github.com/clojure/tools.namespace
but tools.namespace is a more complete solution that will reload all dependencies of stuff that changed etc.
Thanks. I saw that when looking around but wasn't sure if thats what was recommended. Thanks!