(defn mymax [x y]
(min x y))
(defn find-max [x y]
(max x y))
They are the definitions.
(let [max mymax]
(find-max 10 20))
Output: 20 (let is ineffective outside current lexical scope)
(binding [max mymax]
(find-max 10 20))
Output: 10 (because max is now acting as min)
<pre>
(defn mymax [x y]
(min x y))
(defn find-max [x y]
(max x y))
</pre>
They are the definitions.
<pre>
(let [max mymax]
(find-max 10 20))
</pre>
Output: 20 (let is ineffective outside current lexical scope)
<pre>
(binding [max mymax]
(find-max 10 20))
</pre>
Output: 10 (because max is now acting as min)