
27 Oct
2005
27 Oct
'05
2:44 p.m.
On 10/27/05, Joel Reymont
Folks,
Does anyone have QuickCheck examples they could send me?
Also, how can I check Word32, Word64, etc. properties? It looks like the built-in random generator only works with Int values and for the life of me I cannot figure out how to extend it.
Something like (untested!): instance Arbitrary Word32 where arbitrary = arbitrary :: Gen Integer >>= return . fromIntegral -- Sebastian Sylvan +46(0)736-818655 UIN: 44640862