Fork me on GitHub

Anyone successfully use the new REBL with cider's repl yet?


Not yet but hoping to try again later today. Got tripped up by needing JavaFX and my distro not providing it, which means using OracleJDK 😒


I've made a little progress using REBL with cider, but would appreciate if someone with more experience could help me the rest of the way. First I downloaded REBL and created a dir with this deps.edn:

{:deps {org.clojure/clojure {:mvn/version "1.10.0-RC2"}
        org.clojure/core.async {:mvn/version "0.4.490"}
        com.cognitect/rebl {:local/root "REBL-0.9.108/REBL-0.9.108.jar"}}
I did cider-jack-in as usual, and could run the UI with (require '[cognitect.rebl :as rebl]) (rebl/ui). Unfortunately I can't get anything sent to REBL unless I wrap the expression with (rebl/inspect (+ 1 2)). But if I use REBL's "def as" to assign a result to foo I can access foo in the CIDER REPL. Feels like I'm close but missing something.


i think it will be difficult because you rebl has its own main -m cognitect.rebl and i think nrepl does as well. there will need to be something that combines the two

👍 1

Huh, that’s a shame.


@dpsutton: don’t we just need a middleware to trigger a rebl/inspect on every :eval?