[nhc-bugs] Word is not an instance of Bits
Malcolm Wallace
Malcolm.Wallace at cs.york.ac.uk
Mon Nov 29 09:19:32 EST 2004
Hi Daan,
> I am trying to compile DData with nhc98, but
> unfortunately, the Word type is not an instance
> of the Bits class, so I find myself unable to
> do an unsigned shiftR operation on them...
An unfortunate omission in 1.16, which has long been fixed in CVS.
The forthcoming 1.18 release will have "type Word = Word32" and
"instance Bits Word32", available by importing either of these:
import Data.Word
import Foreign
Regards,
Malcolm
More information about the Nhc-bugs
mailing list