Re: [ANN] Insn: Functional JVM bytecode generation for Clojure.

2017-08-19 Thread jgpc42
While I'm not as familiar with the CLR and its bytecode syntax, from what I can tell from the README, mage and insn seem to have similar goals and ideas. I'll attempt to summarize the differences that I could find, if the mage author *nasser* is available I would appreciate his or her input. M

Re: [ANN] Insn: Functional JVM bytecode generation for Clojure.

2017-08-19 Thread Didier
This looks cool, would it be possible to use this to have a deep nested clojure map automatically create a Java nesting of pojos? Like each key becomes a field of an actual class? -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group

Re: [ANN] Insn: Functional JVM bytecode generation for Clojure.

2017-08-19 Thread jgpc42
That would be possible. If I understand your meaning, something like: (require '[insn.core :as insn]) (defn make-pojos [cname m] (let [[fields subs] (partition-by (comp map? second) m) const-type #(if (string? %) String :int)] (doseq [[sname sm] subs] (make-pojos (str cname \$

Did something change in future

2017-08-19 Thread Cecil Westerhof
Quit some time ago I wrote a Clojure program. In it I used future to display a swing window like: (defn show-search-quotes [search-str] (debug-info "show-search-quotes enter") (future (info-table (format "Search Quotes (Case Independent): %s" search-str)

RE: Did something change in future

2017-08-19 Thread Sean Corfield
I’d hazard a guess that something inside the future --- perhaps the search-quotes function call? – is throwing an exception and that’s just being “swallowed” because it’s in another thread. As a general rule of thumb to debug any issues with futures, replace future with identity and see what th

RE: Did something change in future

2017-08-19 Thread Sean Corfield
And, yes, definitely, you should pick up Clojure again!! Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "If you're not annoying somebody, you're not really alive." -- Margaret Atwood From: Cecil Westerhof Sent: Saturday, August 19, 2017 2:38 PM To:

Re: Did something change in future

2017-08-19 Thread Cecil Westerhof
2017-08-20 1:54 GMT+02:00 Sean Corfield : > I’d hazard a guess that something inside the future --- perhaps the > search-quotes function call? – is throwing an exception and that’s just > being “swallowed” because it’s in another thread. > > > > As a general rule of thumb to debug any issues with

Re: Did something change in future

2017-08-19 Thread Cecil Westerhof
2017-08-20 1:57 GMT+02:00 Sean Corfield : > And, yes, definitely, you should pick up Clojure again!! > ​:-D -- Cecil Westerhof -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that