On Mon, Dec 20, 2010 at 3:55 PM, Laurent PETIT <laurent.pe...@gmail.com> wrote: > > > 2010/12/20 Ken Wesson <kwess...@gmail.com> >> >> On Mon, Dec 20, 2010 at 10:27 AM, uap12 <anders.u.pers...@gmail.com> >> wrote: >> > Tanks very mutch for the help. >> > /Anders >> >> Of course (apply str ...) will suck the whole file into ram all at > > slurp will suffice to suck everything into memory
True. You need a seq view of the file, perhaps with line-seq or perhaps with a seq wrapper around the stream to get a char seq. The latter can probably be hacked up fairly quickly using lazy-seq; it's surprising it's not (to my knowledge) in core, really. -- 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