2013/5/10 Bryan Henderson <bryan.d.hender...@gmail.com> > What map would be defined for the first argument with the given code? It > seems like how it is set up, it is grabbing information straight from the > JSON data without a map defined. >
Parsed JSON > The 'format-forecast' definition takes forecast as an arg so I tried it > like this with no luck: > > *:hour-summary (core/get-in forecast [**:dayPrecipitation :temp])* > I don't know what "no luck" means exactly but you are using keywords again while your map contains strings as keys. "time" is not the same as :time. Here's the time of the first precipitation, in a REPL session: https://gist.github.com/michaelklishin/2569d3e6eb32d6e8172b -- MK http://github.com/michaelklishin http://twitter.com/michaelklishin -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.