Treating a file of Java floats as a lazy Clojure sequence.

Posted by Cumbayah on Stack Overflow See other posts from Stack Overflow or by Cumbayah
Published on 2010-06-02T20:50:41Z Indexed on 2010/06/02 20:54 UTC
Read the original article Hit count: 107

Filed under:
|

Hi;

What would be an ideomatic way in Clojure to get a lazy sequence over a file containing float values serialized from Java? (I've toyed with a with-open approach based on line-reading examples but cannot seem to connect the dots to process the stream as floats.)

Thanks.

© Stack Overflow or respective owner

Related posts about clojure

Related posts about io