Fork me on GitHub
#planck
<
2017-03-24
>
slipset10:03:05

I’m working on some stuff with inf-clojure, and I need to be able to invoke a form which ascertain that we’re running a planck-repl.

slipset10:03:21

(require ‘planck.core)
planck.core/*version-version*

slipset10:03:48

works, but it’s a bit too invasive I think

slipset10:03:01

js/PLANCK_VERSION

slipset10:03:15

is what I was looking for.

slipset10:03:15

oh, even better

slipset10:03:20

(js/global.hasOwnProperty “PLANCK_VERSION”)

slipset11:03:42

Seems like Planck is missing "show-arglist" which Lumo has.

slipset11:03:51

Just saying...

slipset12:03:20

Now, thinking about this, it'd be cool if REPLs had some kind of 'capabilities' command, such that tooling could ask for this instead of each tool having to have special code for every repl it supported.