2) Meta data, max was introduced in V1.0 On Sun, 10 Jul 2011 14:44:16 -0700 (PDT) octopusgrabbus <[email protected]> wrote:
> For Question 1 this is an example of multiple interfaces. Got it. > > On Jul 10, 5:42 pm, octopusgrabbus <[email protected]> wrote: > > From Clojure api for max > > > > (defn max > > "Returns the greatest of the nums." > > {:added "1.0"} > > ([x] x) > > ([x y] (if (> x y) x y)) > > ([x y & more] > > (reduce max (max x y) more))) > > > > Question 1: Why can y be introduced as a local binding without a > > let? > > > > Question 2: What is the map {:added "1.0"} doing? > > > > Thanks. > > cmn > -- Luc P. ================ The rabid Muppet -- 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
