The compiler might not be able to do better but the runtime system certainly 
could.  In this case, both filtered and more information is what's needed.  
Why couldn't the runtime generate a message like:
Symbol "fac" of type clojure.lang.IFn is used where type java.lang.Number is 
expected in #2 operand to function *

Of course, if this information were structured in some well-understood way, 
IDEs could consume the error and do an awfully good job of putting the 
cursor on exactly where the error is occurring.  When I code in clojure, IDE 
assistance for situations like this is probably the thing that I miss the 
most.

-- 
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
Note that posts from new members are moderated - please be patient with your 
first post.
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