Just wondering if this behavior is by design:

(Math/min 0 0.2)
java.lang.IllegalArgumentException: No matching method found: min
(NO_SOURCE_FILE:0)

(Math/min 0.0 0.2)
0.0

Coming from Java, it just stuck out to me, since Java has automatic
upcasting.

Thanks
  -Patrick
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to [email protected]
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