This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-01-02
Channels
- # adventofcode (2)
- # bangalore-clj (1)
- # beginners (26)
- # boot (7)
- # cider (21)
- # clara (45)
- # cljs-dev (1)
- # cljsrn (2)
- # clojure (168)
- # clojure-berlin (1)
- # clojure-india (4)
- # clojure-italy (7)
- # clojure-nl (1)
- # clojure-russia (1)
- # clojure-spec (10)
- # clojure-uk (12)
- # clojurescript (31)
- # datascript (2)
- # datomic (28)
- # defnpodcast (9)
- # emacs (2)
- # events (4)
- # fulcro (193)
- # hoplon (127)
- # hypercrud (1)
- # jobs (1)
- # jobs-discuss (38)
- # keechma (1)
- # luminus (5)
- # off-topic (16)
- # onyx (4)
- # parinfer (9)
- # portkey (2)
- # portland-or (1)
- # precept (5)
- # re-frame (9)
- # reagent (8)
- # remote-jobs (7)
- # rum (3)
- # shadow-cljs (2)
- # spacemacs (19)
- # specter (2)
- # testing (1)
- # unrepl (34)
Hmph - (clojure.repl/doc a.b)
fails with an exception, and it's not easy to catch the exception because it's a macro
no, because it's broken I think
CompilerException java.lang.ClassNotFoundException: a.b, compiling:(unrepl-session:2:1) clojure.lang.Compiler.analyze (Compiler.java)
it calls (resolve a.b)
, which throws
to make things worse, the logic is not exposed as a fn, only as a macro, see https://dev.clojure.org/jira/browse/CLJ-1836
another job for the common tooling lib
(try (eval '(doc a.b)) (catch Exception _ "Oops"))
on aux
nobody knows you are using eval
I'm bad enough that I'll actually do that
I think only docs issues are left to fix before 0.3.0 release: https://github.com/Unrepl/unravel/issues/42
@pesterhazy why this bookkeeping?
that was there from the beginning - to know which callback to call when the result comes back
I know you introduced the eval ids for the same purpose
right
at some point I'll clean it up but it works for now
@richiardiandrea mobile chained, but why at runtime?
right, I was thinking that it would be even cooler for the client to have something like: "Please side load this library for me"
or even better
"side load cider-nrepl" info feature for me
and the client knows what jars to download and bundle for that to happen
(actually the last could be an already packaged jar)
One thing that mranderson
does is to rename .class
files as well
http://asm.ow2.org/asm60/javadoc/user/org/objectweb/asm/commons/RemappingClassAdapter.html
I was exploring only to see what's the best course of action. Would we want/need to side load .class
in your opinion?
my boot-sources
just collects Clojure files
so if we want to side load also AOT-id/Java, probably the best option would be to refactor mranderson
and package it as boot
library
or just use lein
I would not want to reimplement this Java bits 😄 https://github.com/benedekfazekas/mranderson/tree/master/java-src/mranderson/util
(lazy mode permanently on 😄)