Skip to content

Data.Word should define instances of Random for each type

I'm forwarding Debian bug http://bugs.debian.org/533022 for your consideration.

Data.Word defines signed and unsigned integer types for various bit sizes. It would help if Data.Word made each type an instance of Random. Per http://www.haskell.org/haskellwiki/Orphan_instance , such an instance should appear either in System.Random or Data.Word, and it makes more sense to do the latter.

Trac metadata
Trac field Value
Version 6.10.3
Type FeatureRequest
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component libraries/base
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information