Not to sound like a one track record here, but you should look at clojure.contrib.generic.arithemetic to see how to redefine /
have a great day, --Robert McIntyre On Tue, Dec 14, 2010 at 4:26 AM, Meikel Brandmeyer <[email protected]> wrote: > Hi, > > Am 14.12.2010 um 04:25 schrieb Sunil S Nandihalli: > >> yeah cool I can do that.. thx. But I remember seeing a syntax for it in the >> ns macro... > > (ns name.space > (:refer-clojure :rename {+ core+})) > > Please note that / is a special case symbol. Slashes are not allowed in > symbols, and I'm not sure you can redefine it (haven't tested it). At least I > would be very suspicious on its future-safeness. > > Sincerely > Meikel > > > -- > 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 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
