On Feb 16, 5:03 am, bOR_ <boris.sch...@gmail.com> wrote: > Started playing with getting an within emacs clojure-based mud client, but > puzzling a bit with parsing the incoming stream. The below works (for > emacs+swank-clojure 1.4.0), but puts a space between every character. When > I try to solve that (for example by swapping "(print ..." with "(print > (apply str ...", then incoming text is no longer automatically parsed into > the repl.
I'm a beginner myself, but it looks to me like you're running into a problem with the lazy seq returned by take. Don't you want to collect every character into a buffer and then flush it once you hit an end of line? -- 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