-
-
Save ksexton/7d063b410e1b4c5bfdd5 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 get-city [zipcode] | |
(get (first (filter #(= (% :zip) zipcode) factors-table)) :city)) | |
(defn get-latitude [zipcode] | |
(get (first (filter #(= (% :zip) zipcode) factors-table)) :latitude)) | |
(defn get-longitude [zipcode] | |
(get (first (filter #(= (% :zip) zipcode) factors-table)) :longitude)) |
jjl
commented
Jan 6, 2014
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment