This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-06-18
Channels
- # admin-announcements (1)
- # beginners (4)
- # boot (18)
- # cider (4)
- # cljsrn (17)
- # clojure (77)
- # clojure-austin (6)
- # clojure-greece (6)
- # clojure-spec (81)
- # clojure-uk (6)
- # clojurescript (32)
- # code-art (2)
- # core-async (12)
- # cursive (1)
- # datomic (1)
- # emacs (15)
- # funcool (1)
- # hoplon (108)
- # om (9)
- # onyx (83)
- # planck (1)
- # re-frame (3)
- # reagent (4)
- # specter (6)
- # spirituality-ethics (4)
- # yada (9)
hi guys, I'm reading a CSV file, and return a LazySeq... How to use get
for LazySeq?
My CSV:
(["Arrowhead Stadium" "76416" "76416" "Kansas City Missouri" "Grass" "FALSE" "KC" "1972" "GHCND:USC00234154" "None" "910"] ["Bank of America Stadium" "73778" "73778" "Charlotte North Carolina" "Grass" "FALSE" "CAR" "1996" "GHCND:USW00013881" "None" "751"])
Try GET:
(get CSV 2)
try (nth CSV 2)
“get” is for indexed collections (so maps or vectors)
@danlebrero thanks, It works with nth
😀