Created
July 14, 2014 18:00
-
-
Save anonymous/a5bda24626de3a953ade 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
(defn main [] | |
(let [tweets (rest (csv/parse-csv (slurp "tweets.csv"))) | |
recent-tweets (map #(nth % 5) (take 10 tweets))] | |
(pprint/pprint recent-tweets) | |
(map println recent-tweets))) |
Nevermind, I needed dorun
because map
is lazy.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Output: