News for hackers. Stuff that matters.
Re:Clojure vs. The Static Typing World by tome on Sunday October 29, 2017 @06:57PM (#15582008)
And what does 55.1 % 102 produce? 1e-12 % 3i+12?

And if your answer is "I only need it to work on integers" then don't blame Haskell when I choose to specialise it to Int!

Re:Clojure vs. The Static Typing World by wellpast on Sunday October 29, 2017 @07:50PM (#15582251)
I'm a bad product manager. The % should round the value to a tenth and then concat.

This is a silly example, of course, but the real world isn't short on creativity/silliness.

Re:Clojure vs. The Static Typing World by tome on Monday October 30, 2017 @03:29AM (#15583542)
And for complex numbers?
Re:Clojure vs. The Static Typing World by wellpast on Monday October 30, 2017 @01:02PM (#15586725)
Precondition: complex numbers are not supported. Unspecified behavior.
Re:Clojure vs. The Static Typing World by tome on Monday October 30, 2017 @01:41PM (#15587142)
OK, then I choose to specialise to the type Double!