Skip to content

Instantly share code, notes, and snippets.

@hiredman
Created March 30, 2009 22:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hiredman/87909 to your computer and use it in GitHub Desktop.
Save hiredman/87909 to your computer and use it in GitHub Desktop.
(defn lines [file]
(with-open [file (-> file File. FileReader.)
csv (CsvListReader. file (CsvPreference/EXCEL_PREFERENCE))]
(concat (sort-by uperson (f (sort-by rank (map #(map latex-escape (into [] %)) (take-while #(> (count %) 0) (rest (map #(%) (cycle [#(.read csv)])))))))) six-dummy-entries)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment