Re: Converting json to work with clojure.spec

2017-08-06 Thread Brian Scaturro
Hi Jonathon, I am trying to figure out the same thing. I am using all namespace qualified keys, but curious how this works when using s/conform on a json payload. Did you ever find a solution for this? Thanks! Brian On Sunday, December 4, 2016 at 10:11:55 AM UTC-5, Jonathon McKitrick wrote: >

[ANN] spectacles 0.3.0

2017-08-06 Thread Stathis Sideris
Hello all, I just released spectacles 0.3.0, lenses for accessing/mutating nested data structures which are checked at runtime using spec. It provides get, get-in, assoc, assoc-in, update and update-in, where keys, paths and passed values are checked based on existing specs. Check readme for m

:gen-class method signature help

2017-08-06 Thread Didier
Can you try: :methods [#^{:static true} [score [java.util.List java.util.List] java.util.List]] This says your score function takes two List arguments and returns a list. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send e

:gen-class method signature help

2017-08-06 Thread Didier
Also, you need to change the name of the "score" function in clojure to "-score". Yes, that's a dash prefixed to it. Unless you have configured gen-class to do differently using ":prefix". -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to t