Commits

Miki Tebeka committed 73ceae0

Bug fix

  • Participants
  • Parent commits 4f30eb9

Comments (0)

Files changed (1)

   ([filename] (csv-seq filename false))
   ([filename headers?]
    (let [records (record-seq filename)
-         headers (if headers? (first records) (range (count records)))]
+         headers (if headers? (first records) (range (count (first records))))]
     (map #(zipmap headers %) (if headers? (rest records) records)))))