-
-
Save anonymous/4e1feb0d1005c88c4598 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
user=> (def line-by-line | |
#_=> (fn [filename] | |
#_=> (with-open [rdr (reader filename)] | |
#_=> (doseq [line (line-seq rdr)] | |
#_=> (println line))))) | |
#'user/line-by-line | |
user=> (line-by-line '/tmp/hi') | |
RuntimeException Invalid token: /tmp/hi' clojure.lang.Util.runtimeException (Util.java:221) | |
RuntimeException Unmatched delimiter: ) clojure.lang.Util.runtimeException (Util.java:221) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment