
On Thu, Oct 7, 2010 at 2:27 PM, Ivan Lazar Miljenovic
A lot of those can be removed if Random has instances for Word* by default. Is there any reason they aren't already instances?
On Thu, Oct 7, 2010 at 2:28 PM, Ian Lynagh
I see several instances for base types - the random package ought to provide these.
Proposal: Add Random instances for: * all the types in Data.Int: (Int is already provided) Int8, Int16, Int32, Int64 * all the types in Data.Word: Word, Word8, Word16, Word32, Word64 * almost all the types in Foreign.C.Types: CChar, CSChar, CUChar, CShort, CUShort, CInt, CUInt, CLong, CULong, CPtrdiff, CSize, CWchar, CSigAtomic, CLLong, CULLong, CIntPtr, CUIntPtr, CIntMax, CUIntMax, CFloat, CDouble Does it make sense to have Random instances for CClock and CTime? The patch is attached to the ticket: http://hackage.haskell.org/trac/ghc/ticket/4379 Deadline: 2 weeks (Friday 22 October 2010) Regards, Bas