Data.Ratio and exceptions

wren ng thornton wren at
Sat Jun 16 07:12:32 CEST 2012

On 6/14/12 6:32 AM, Simon Marlow wrote:
> On 14/06/2012 02:27, wren ng thornton wrote:
>> That's no good. I wonder whether ArithExceptions should be given their
>> code location a la assertion failures[1]. Probably all the built-in
>> exception types should do so.
> But that wouldn't help - you'd just get a code location somewhere deep
> in the base package every time.

Shouldn't it give the location of the use site of (%)? No, I suppose 
that'd require more special magic...

Live well,

More information about the Libraries mailing list