RE: Over loaded strings test case
Simon Peyton-Jones <[email protected]> Tue, 23 Jan 2007 14:01:46 +0000
| Newsgroups | gmane.comp.lang.haskell.cvs.all |
|---|---|
| Message-ID | <DCA83D5F3861C941808187D4D387875001549D48C7__3794.57113235748$1169560923$gmane$org@EA-EXMSG-C312.europe.corp.microsoft.com> |
Ah yes I'd forgotten that. Can you make a small test program that shows the problem, and explain what = the desired behaviour should be? Thanks | -----Original Message----- | From: [email protected] [mailto:[email protected]] On= Behalf Of Lennart Augustsson | Sent: 23 January 2007 13:55 | To: Simon Marlow | Cc: [email protected] | Subject: Re: Over loaded strings test case | | Yes, there's a problem with default. Simon PJ said he would fix | defaulting, but I guess he's not done that yet. Ask him, and if | he's busy I can take a look again. The defaulting code is a bit | convoluted. :) | | -- Lennart | | On Jan 23, 2007, at 06:58 , Simon Marlow wrote: | | > Ian Lynagh wrote: | >> Hi Lennart, | >> I've applied all the overloaded-strings patches. Thanks! | > | > Looks like there's one failure in nofib/spectral/power related to | > this: | > | > =3D=3Dnofib=3D=3D power: time to compile Main follows... | > /playpen/ghc/nightly/HEAD-cam-02-unx/i386-unknown-linux/compiler/ | > stage3/ghc-inplace -H16m -O -O -Rghc-timing -H32m -hisuf hi -c | > Main.hs -o Main.o | > | > Main.hs:15:0: | > No instances for (IsString Double, | > IsString Rational, | > IsString Integer) | > arising from a 'default' declaration at Main.hs:15:0-34 | > Possible fix: | > add an instance declaration for | > (IsString Double, IsString Rational, IsString Integer) | > when checking that each type in a default declaration | > is an instance of class Num | > | > Cheers, | > Simon | | _______________________________________________ | Cvs-ghc mailing list | [email protected] | http://www.haskell.org/mailman/listinfo/cvs-ghc