Re: How to bind a C# value in clojure-clr using the C# API.

2014-11-12 Thread rvdalen
Gary, Thanks, this is awesome. It really helps a lot. Converting from Java to C# is straight forward. Exposing a function to set the value of an atom seems like a good approach. I will play with this idea a bit later tonight. With this info I should be able to get something working for now, ev

How to bind a C# value in clojure-clr using the C# API.

2014-11-12 Thread rvdalen
Hi, I have a basic editor, which uses clojure-clr as a lib. I need to pass a C# value into an instance of clojure-clr, using the clojure-clr C# api. I tried something like: Symbol s = Symbol.intern("*appState*"); IFn def = Clojure.var( "clojure.core", "def