Answers for "line-seq clojure"

0

clojure read file line by line

(use 'clojure.java.io)
(with-open [rdr (reader "/tmp/test.txt")]
  (doseq [line (line-seq rdr)]
    (println line))) ;;; do line-processing here
Posted by: Guest on August-24-2020

Code answers related to "line-seq clojure"

Browse Popular Code Answers by Language