[Haskell-beginners] overflow safe Word types

Ashish Agarwal agarwal1975 at gmail.com
Fri Mar 26 14:23:25 EDT 2010

Is there an alternative implementation of the types Word8, Word16, etc. that
disallow overflow? For example, currently:

Prelude Word> (fromInteger 256) :: Word8

I'd like a type whose constructors disallow this.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/beginners/attachments/20100326/ed26a9e2/attachment.html

More information about the Beginners mailing list