Validate fails

Roman Leshchinskiy rl at cse.unsw.edu.au
Sun Mar 9 20:13:24 EDT 2008


Don Stewart wrote:
> 
> Hey, I wonder if that's a tab difference in the info code, hard coded in?

Doesn't look like it to me:

 >> -data Data.Complex.Complex a = !a Data.Complex.:+ !a
 >> +data (RealFloat a) => Data.Complex.Complex a
 >> +  = !a Data.Complex.:+ !a

After a bit of searching, I guess it's this patch:

Thu Mar  6 05:46:51 PST 2008  simonpj at microsoft.com
   * Fix Trac #2138: print the 'stupid theta' of a data type

So ghci didn't print the (RealFloat a) context before but does now. I'll 
fix the expected output.

Roman



More information about the Cvs-ghc mailing list