On Mon, May 18, 2009 at 11:29 AM, Mark Reid <mark.r...@gmail.com> wrote:
> ...
> test=> (lcm 4 6)
> 24
> ----
>
> Maybe a variant of ns could be written that allows the overriding of
> specific functions? e.g.,
>

I know I keep plugging this - sorry - but it just keeps surfacing as a solution;

(lcm 4 6)
12
(binding [clojure.contrib.math/gcd (fn [a b] 1)] (lcm 4 6))
24

Adrian.

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

Reply via email to