Fork me on GitHub
#lumo
<
2017-05-24
>
richiardiandrea17:05:45

Is there a function in lumo to identify that we are in lumo? I was using (js/global.hasOwnProperty \"$$LUMO_GLOBALS\") for detecting it, but it would be awesome if there was a wrapped version of it, because other repls do not have js/ (of course), more details here: https://github.com/clojure-emacs/inf-clojure/issues/79

anmonteiro17:05:58

@richiardiandrea there are many ways to tell if you’re in Lumo

richiardiandrea17:05:20

oh great, I am trying to find a better way 😉

anmonteiro17:05:29

what exactly do you want?

richiardiandrea17:05:05

just a predicate that returns true if I am in a lumo repl

richiardiandrea17:05:23

that is the easiest because I will just need to match against the string true in inf-clojure