News for hackers. Stuff that matters.
Re:Functional programming in Clojure by diego on Saturday June 28, 2014 @01:02PM (#7958661)
That has nothing to do with static or dynamic typing. -1/3 is a clojure.lang.Ratio. java.lang.Math/abs is an overloaded method that knows nothing about it. If you want that to work, wrap it in a float or use abs from clojure.math.numeric-tower.

There are no comments on this comment yet.