Re: How to get a value of a var in Java

2021-06-24 Thread Justin Smith
> Clojure vars under the IFn interface. In other words, you can only import Clojure functions, not Clojure values, through that API. On Fri, Jun 18, 2021 at 12:29 PM ru wrote: > Thank you, Gary, for the comprehensive answer. I have a control over > Clojure side, so I decide to add special funct

Re: How to get a value of a var in Java

2021-06-24 Thread Justin Smith
(sorry, hit reply too soon) On Thu, Jun 24, 2021 at 9:42 AM Justin Smith wrote: > > Clojure vars under the IFn interface. In other words, you can only > import Clojure functions, not Clojure values, through that API. > > On Fri, Jun 18, 2021 at 12:29 PM ru wrote: > >> Thank you, Gary, for the

Re: How to get a value of a var in Java

2021-06-24 Thread Justin Smith
anyway - vars implement IFn, as far as I can see there's no real problem here, you can deref the var object and it just happens to also implement IFn (control-return adds a new line without sending in slack, but sends immediately in gmail, clearly my brain is having trouble code switching here)