Just an FYI, you can also use the builtin slurp function, which will
return the contents of a given file.
(slurp "file.txt")
Regards,
Travis
On Aug 21, 4:11 am, DemAS wrote:
> Hi all,
>
> I have created the function that read a txt file. I have a very
> little experience in clojure and I w
Hi,
On Aug 21, 10:11 am, DemAS wrote:
> I have created the function that read a txt file. I have a very
> little experience in clojure and I will be thankfull for any
> correction and ideas.
For the record: see (doc line-seq)
But here some suggestions, since learning clojure is your main
Hi all,
I have created the function that read a txt file. I have a very
little experience in clojure and I will be thankfull for any
correction and ideas.
This is source code:
(defn create-freader [filename]
(def f-reader (new java.io.FileReader filename))
f-reader)
(defn create-br