lumo

:lumo: Standalone ClojureScript environment. Currently at version 1.9.0
richiardiandrea 2017-10-25T23:20:39.000206Z

is there a way, currently to achive this in lumo?

boot.user=> (defn my-fn [n] n)
#'boot.user/my-fn
boot.user=> (var-get (resolve 'boot.user/my-fn))
#object[boot.user$my_fn 0x2735bf41 "boot.user$my_fn@2735bf41"]

richiardiandrea 2017-10-25T23:21:13.000066Z

auto answer, maybe by querying the compiler state ()

richiardiandrea 2017-10-25T23:21:57.000076Z

resolve already works

richiardiandrea 2017-10-25T23:22:57.000161Z

I just don't know if I can get hold of the function object

anmonteiro 2017-10-25T23:24:05.000130Z

@richiardiandrea @(resolve 'my.ns/my-var)?

👍 1
richiardiandrea 2017-10-25T23:24:28.000069Z

ohoooo cool

richiardiandrea 2017-10-25T23:24:42.000212Z

I tried var-get but I did not think of @

richiardiandrea 2017-10-25T23:26:19.000229Z

thanks it works ! 😉