In Clojure passing a open file pointer into functions
In Conjure, I need to read in a long file, too long to slurp in, and I
wish to pass the open file pointer into method, which I can call
recursively, reading until it is empty. I have found examples using
open-with, but is there a way to open a file and then read from it inside
of a function? Points to examples or docs would be helpful.
No comments:
Post a Comment