On 21 March 2011 13:14, Chas Emerick <cemer...@snowtide.com> wrote: > I think we're in violent agreement. Here's a sample nREPL exchange from > https://github.com/clojure/tools.nrepl:
Ah, I did look through that REPL exchange, but I misunderstood the syntax the first time I read it. I now realise that the integer at the beginning of each exchange refers to the number of key/value pairs being transferred. This seems a little odd, as it's halfway between explicitly specifying the size of the input (as in bencode or netstrings), and using an explicit delimiter (as in Stomp or HTTP). I can't think of any advantage to doing it this way, instead of using either a delimiter or an initial byte-count. But now I understand the protocol, I can see the gist of what you're doing is the same as what I had in mind. So we're certainly in agreement in that respect :) - James -- 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 posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en