RealFrac methods for Double and Float

Daniel Fischer daniel.is.fischer at web.de
Sun Oct 10 20:49:30 EDT 2010


On Monday 11 October 2010 02:31:13, Antoine Latter wrote:
>
> I got a lot of errors (or warnings?) during compilation.

Yuck.

> Is it something I should worry about?

No.

>
> I'm using GHC 6.12.1 on 64-bit Linux.

Just means I should've looked closely at the #if's.
On 64 bits,

data Int64 = I64# Int#

and apparently the explicit 64-bit shifts and adds aren't defined (I 
thought they were aliased to Int# shifts etc).

Give me a couple of minutes to fix it.

>
> Antoine
>
> +++++
> $sh build.sh
> [1 of 1] Compiling Main             ( getSummary.hs, getSummary.o )
> Linking getSummary ...
> building with the NCG
> [1 of 1] Compiling RFDouble         ( RFDouble.hs, RFDouble.o )
>
> RFDouble.hs:88:31: Not in scope: `negateInt64#'
>
> RFDouble.hs:89:33: Not in scope: `negateInt64#'


More information about the Libraries mailing list