Fork me on GitHub

@viebel how would I get (doc map) to work in klipse? I have tried (clojure.repl/doc map) and (cljs.repl/doc map) but I get "Type Error - undefined" error messages.

Yehonathan Sharvit14:11:52

doc is not yet supported in klipse

Yehonathan Sharvit14:11:49

but you can workaround it with (:doc (meta #‘map)) See an example here:;eval_only=1


Thanks. Hmm, that not something I would like to put in front of Clojure beginners though. For ClojureBridge content I'll just add a link the online docs at for specific functions, rather than in klipse for now. Its probably better they get used to looking at website as it has other examples too...

Yehonathan Sharvit18:11:15

Your work looks wonderful!

Yehonathan Sharvit18:11:09

I gave it a try and basically, one can do a funny thing - run cljs_live inside klipse

Yehonathan Sharvit18:11:20

(sorry for the long url)


hah, neat. so the external-libs option takes any src directory

Yehonathan Sharvit18:11:27

yeap! not compiled


is there a way to automagically dig into clojars directories?

Yehonathan Sharvit18:11:14

that would be great

Yehonathan Sharvit18:11:18

but not for the moment

Yehonathan Sharvit18:11:28

usually, I take code from github

Yehonathan Sharvit18:11:46

The problem is that with the deps of the libs

Yehonathan Sharvit18:11:01

For the moment, you have to add them manually into the external-libs parameter

Yehonathan Sharvit18:11:19

Theoretically, I could read the project.clj and resolve deps

Yehonathan Sharvit18:11:52

but I would need the repo of each dep - and it is not part of the project.clj

Yehonathan Sharvit18:11:23

but maybe one could check in clojars what is the repo of the dep and solve all the deps


Sorry, my internet cut out


Hmm. It would be nice if there was just a mirror of the files in the jar, then versioning would be aligned

Yehonathan Sharvit18:11:23

We just need the git commit of release tag!


I have to run to dinner now but let's chat more later

Yehonathan Sharvit18:11:45

I think you opened a lot of interesting doors with cljs-live


a mirror is also useful because there’s so much work that can be cached. like compilation. it’s really slow making the browser compile everything from source


of course it depends on use-case how important that is.

Yehonathan Sharvit18:11:40

what do u mean by a mirror?


at first I just meant another server that would host a cljs-subset of Clojars, where the jars are expanded (since a jar is just a bunch of files compressed together), to use like you are using git.


but then in addition to just mirroring jarfiles as raw source directories, there is lots to do to make it convenient for grabbing clojurescript-compiler-friendly bundles of dependencies.


in one swift move you could pass the client everything they need to compile whatever namespace they requested. then, like in cljs-live.compiler, this stuff is put into a client-side cache so the load-fn doesn’t have to make any more http requests.


ok im signing out, speak later!