Re: enhancement request: a simple way to read a file

2009-08-08 Thread Daniel Lyons
On Aug 8, 2009, at 3:37 AM, Albert Cardona wrote: > I am amused that the two answers I got (yours and Vagif's) tried to > teach me about contrib duck-streams, a lib which I know and use. > > To restate my point: file I/O is incomplete in clojure core, lacking > the > consistency of other core

Re: enhancement request: a simple way to read a file

2009-08-08 Thread Albert Cardona
Daniel Lyons wrote: > On Aug 7, 2009, at 12:19 PM, Albert Cardona wrote: > >> Currently, one must resort to incantations like: >> >> (with-open [stream (java.io.BufferedReader. >> (java.io.FileReader. >> "/home/albert/test.xml"))] >> (doseq [line (line

Re: enhancement request: a simple way to read a file

2009-08-07 Thread Daniel Lyons
On Aug 7, 2009, at 12:19 PM, Albert Cardona wrote: > Currently, one must resort to incantations like: > > (with-open [stream (java.io.BufferedReader. > (java.io.FileReader. > "/home/albert/test.xml"))] > (doseq [line (line-seq stream)] > (println li

Re: enhancement request: a simple way to read a file

2009-08-07 Thread Albert Cardona
Vagif Verdi wrote: > Try contrib library duck-streams. I know duck-streams rather well. You missed the point, Vagif. Albert -- Albert Cardona http://albert.rierol.net --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Gro

Re: enhancement request: a simple way to read a file

2009-08-07 Thread Vagif Verdi
Try contrib library duck-streams. --~--~-~--~~~---~--~~ 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