[ANN] Funcgo: writing Clojure using a Go-like syntax

2014-07-07 Thread Eamonn O'Brien-Strain
) { accum } else { x int := first(v) recur(accum + x * x, rest(v)) } } } sumSquares([3, 4, 5, 10]) => 150 __ Eamonn -- You received this message because you are subscribed to the Goo

Re: Clojure embedded in a Java Application

2011-09-18 Thread Eamonn
Hi Meikel,Ken Thank you so much for taking the time to reply to my question. Meikel Thanks for the code. I will implement as described above. On Sep 18, 6:28 pm, Meikel Brandmeyer wrote: > Hi Eamonn, > > if you find this too tedious to write and use it quite often, then there is >

Re: Clojure embedded in a Java Application

2011-09-17 Thread Eamonn
e(keyword.invoke("a"), 1)); I get 1 returned Any suggestions welcomed On Sep 16, 9:56 am, "Meikel Brandmeyer (kotarak)" wrote: > Hi, > > Am Donnerstag, 15. September 2011 23:39:10 UTC+2 schrieb Eamonn: > > > The code  works BUT if I try to pass in a map for exam

Clojure embedded in a Java Application

2011-09-16 Thread Eamonn
Hi I'm new to Clojure so forgive me if this is a dumb question. I want to incorporate some Clojure into a Java application. String rule="(str key val label)"; String str = "(ns test) " + "(defn foo [key val label] " + rule +

Re: clojure.contrib.test-contrib.test-jmx build error

2010-02-11 Thread Eamonn McManus
I think you're running into http://bugs.sun.com/view_bug.do?bug_id=6924497 which is unrelated to JMX itself but is a problem of incompatibility between the JDK class library and the JVM, if for example you are running with HotSpot Express. A fix should appear in a JDK 6 update but in the meantime i