Clojurians
#lumo
<
2017-10-25
>

This page is not created by, affiliated with, or supported by Slack Technologies, Inc.

richiardiandrea01:10:40

Ok thanks did not have time today but it is queued

richiardiandrea23:10:39

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 "[email protected]"]

richiardiandrea23:10:13

auto answer, maybe by querying the compiler state (:question:)

richiardiandrea23:10:57

resolve already works

richiardiandrea23:10:57

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

anmonteiro23:10:05

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

richiardiandrea23:10:42

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

richiardiandrea23:10:19

thanks it works ! :wink: