10 Jan
2003
10 Jan
'03
4:47 p.m.
This looks like a hugs bug to me - GHCi gets it right. Inflate> 4294967295 :: Word32 4294967295 Inflate> (4294967295 :: Word32) > 0 True Inflate> array (0, (4294967295 :: Word32)) [] // [(5, 98)] array Program error: {_out_of_bounds (0,-1) 5} Inflate> Incidentally, how do you get the Word and Array modules in scope at once without using a module to import them both? My fiddling with :l and :a wasn't fruitful. Thanks Ian
8582
Age (days ago)
8582
Last active (days ago)
0 comments
1 participants
participants (1)
-
Ian Lynagh