Hi all,
Is it possible to read from a lazy input sequence? I have a telnet
connection using commons.telnet and I want to do something like:
(def telnet (TelnetClient.))
(def in (. telnet getInputStream))

; How do I do this?
(def read-until
 ; read from a lazy input sequence UNTIL prompt is matched and return
what's been read
 [prompt input-stream]
...)

Every idea is appreciated :)
Cheers
Andreas



-- 
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

Reply via email to