Alastair Reid <[EMAIL PROTECTED]> writes:
>
>
> > Alastair Reid <[EMAIL PROTECTED]> writes:
> > >
> > ...
> > >
> > > However, your mail does remind me that we have {Word,Int}32 and
> > > friends for use when we do want to calculate modulo 2^32 -
> > > converting to them should certainly not give exceptions.
> > > This is what Sigbjorn (I think it was he who raised the issue)
> > > should have been using if he was relying on not getting
> > > exceptions.
> > >
> >
> > Indeed, I was using Int32. However, since Hugs'
> > implementation of Int32 is built on top of Int
> > the behaviour is the same.
>
>
> Aha, a bug in the bug report! :-)
>
> Now that we're talking about Int32, ...
Not so fast - there's no conflicting views of what the
behaviour of ((fromInteger x)::Int32) should be, but it
doesn't follow from that what to do for Int.
Maybe it's just consistent with the under-specified nature
of Int to have implementations differ on this point? 1/2 ;-)
--sigbjorn