1. Miki Tebeka
  2. csvlib


Miki Tebeka  committed 04109f1


  • Participants
  • Parent commits d647eb4
  • Branches default

Comments (0)

Files changed (2)

File src/csvlib.clj

View file
  • Ignore whitespace
   "Return a lazy sequence of records (maps) from CSV file.
   With header map will be header->value, otherwise it'll be position->value."
-  ([filename] (csv-seq filename false))
+  ([filename] (read-csv filename false))
   ([filename headers?]
    (let [records (record-seq filename)
          headers (if headers? (first records) (range (count (first records))))]

File test/toons.csv

View file
  • Ignore whitespace