Deprecating fromIntegral
amindfv at gmail.com
amindfv at gmail.com
Fri Sep 22 23:07:16 UTC 2017
El 21 sept 2017, a las 18:01, John Wiegley <johnw at newartisans.com> escribió:
>>>>>> "NH" == Niklas Hambüchen <mail at nh2.me> 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.
>
This is my view. I am specifically against adding a {-# DEPRECATED #-} pragma.
Tom
> --
> John Wiegley GPG fingerprint = 4710 CF98 AF9B 327B B80F
> http://newartisans.com 60E1 46C4 BD1A 7AC1 4BA2
> _______________________________________________
> Libraries mailing list
> Libraries at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries
More information about the Libraries
mailing list