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

-- 
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

Reply via email to