Deprecating fromIntegral

Niklas Hambüchen mail at nh2.me
Thu Sep 21 21:30:51 UTC 2017


On 21/09/17 19:47, John Wiegley wrote:
> Why is it 'fromIntegral' that should be promoted into a warning? What about
> all the other partial functions in base that don't generate warnings either?

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

Also because fixing all partial functions in base is way out of scope of
what I intended to propose.


More information about the Libraries mailing list