Deprecating fromIntegral

John Wiegley johnw at
Thu Sep 21 22:01:48 UTC 2017

>>>>> "NH" == Niklas Hamb├╝chen <mail at> writes:

NH> Because `fromIntegral` is not a partial function, it fails silently.

Ah, yes, I didn't mean "partial" per se, but more in the sense of "not having
a sane answer for all inputs".

I'm -1 to changing the behavior of fromIntegral now, but +1 on adding other
functions to make the behavior more explicit.

John Wiegley                  GPG fingerprint = 4710 CF98 AF9B 327B B80F                          60E1 46C4 BD1A 7AC1 4BA2

More information about the Libraries mailing list