I have discovered some odd behavior when type-hinting fns with ^System.Double:
user=> (defn bar [^System.Double d] d) #'user/bar user=> (bar 1.2) 2.35293190771409E-316 user=> (bar 1) 2.35069794048985E-316 The same behavior occurs when extending double via extend-protocol or extend-type: user=> (defprotocol FooProto (foo [_])) user=> (extend-protocol FooProto System.Double (foo [d] d)) nil user=> (foo 1.2) 2.25126584588049E-316 Any ideas? Thanks. -Frank Failla -- 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