The value of 'maps' can be, for example; [{:lat 1 :lng 4} {:lat 2 :lng 3}].
If you enter (min [{:lat 1 :lng 4} {:lat 2 :lng 3}]) in the repl the result
will be {:lat 1 :lng 3}
If you replace 'min' by its definition you get;
(min [{:lat 1 :lng 4} {:lat 2 :lng 3}])
=>
(zipmap [:lat :lng]
(map (fn [k] (apply clojure.core/min
(map k [{:lat 1 :lng 4} {:lat 2 :lng
3}])))
[:lat :lng]))
I hope this helps. Succes!
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
For more options, visit https://groups.google.com/d/optout.