Add Random instances for more base types
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
?
Trac metadata
Trac field | Value |
---|---|
Version | 6.12.3 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | libraries/random |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |