> I guess that if you enable reflection warnings, you'll get a warning on
> the line where you invoke the constructor.

As a bit of an aside, is there a reason that using multimethods with
class-based dispatch doesn't add type hints by itself?  It seems sort
of strange that it's necessary to define your methods with (defmethod
name Class [ #^Class arg ] ...) instead of just being able to do
(defmethod name Class [ arg ] ...).

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