On Jan 28, 2008, at 17:33 , Jamie Love wrote:
Shouldn't haskell pick up that there is no 'mod' for Word8? I mean, shouldn't I get a nicer error message?
Hm? mod works fine for Word8, unless you specify a multiple of the type's bound. I think it's still hard for compilers to catch that for you (very few compilers I know of will catch even an explicit divide-by-zero at compile time).
-- brandon s. allbery [solaris,freebsd,perl,pugs,haskell] [EMAIL PROTECTED] system administrator [openafs,heimdal,too many hats] [EMAIL PROTECTED] electrical and computer engineering, carnegie mellon university KF8NH _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe