On Sunday, July 6, 2014 6:54:16 AM UTC+3, David Della Costa wrote: > Can you attach a refheap/gist/etc. of the code you are using to send and > > to receive EDN? That would help a lot in diagnosing your issue. > > > > For what it's worth, we are sending and receiving data, including sets, > > in the manner you describe, with no issues (other than the one described > > here: https://github.com/ddellacosta/date-hash-bug, which is unrelated). > > > > DD > > > > (2014/07/06 4:53), Andrew Nguyen wrote: > > > I am using a combination of pr-str cljs.reader/read-string to > > > communicate between the front and backends. Everything has been > > > working as expected but I'm now trying to send data that contains a > > > clojure set and pr-str seems to be printing an incomplete string. > > > > > > For example, the following map: > > > > > > {:a #{:b}} > > > > > > results in the following string: > > > > > > "{:a%20" > > > > > > which then causes read-string to run into an EOF on the backend. > > > > > > First, are pr-str and cljs.reader/read-string the preferred > > > mechanisms to send/receive data on the clojurescript end of things? > > > > > > If so, is there something I should be doing differently in order to > > > send sets back and forth? > > > > > > Thanks, Andrew > > >
Damn it, I was hoping that would help my problem with reading instants on Nashorn. I always get Error: Sun Jul 06 2014 16:30:16 GMT+0300 (EEST) is not ISeqable in <eval> at line number 19633 at column number 4, where cljs.core.seq function is the one line number points to when trying to read pr-str'd dates with cljs.reader. -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups "ClojureScript" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/clojurescript.
