Re: I am looking for xml parsing lib

2015-08-24 Thread Jordan Schatz
> > Which is the recommended xml parsing lib for clojure? I think you are after clojure.xml/parse http://conj.io/store/v1/org.clojure/clojure/1.7.0/clj/clojure.xml/parse/ and friends: http://conj.io/store/v1/org.clojure/clojure/1.7.0/clj/clojure.core/xml-seq/ http://conj.io/store/v1/org.clojure/c

Re: when the body of the request is HttpInputOverHTTP, how do I get the string representation?

2015-08-20 Thread Jordan Schatz
The Java docs for HttpInputOverHTTP are here: http://download.eclipse.org/jetty/stable-9/apidocs/org/eclipse/jetty/server/HttpInputOverHTTP.html and the source is here: https://github.com/eclipse/jetty.project/blob/master/jetty-server/src/main/java/org/eclipse/jetty/server/HttpInputOverHTTP.java

Re: idiomatic data transformation

2015-07-07 Thread Jordan Schatz
Possibly less computer science-y then you had in mind, but take a look at Prismatic's Schema https://github.com/Prismatic/schema Graph: https://github.com/Prismatic/plumbing#graph-the-functional-swiss-army-knife and Fnhouse: https://github.com/Prismatic/fnhouse Your mentioning of handling nulls b

A one line macro that looks right, but just won't work.

2015-06-05 Thread Jordan Schatz
Hello! So here is a short example: - ;; Story: ;; I have an EDN data structure from an external API ;; I extract several patterns of records from it. ;; I would like to treat the patter