#3352: Data.Word should define instances of Random for each type
-----------------------------+----------------------------------------------
Reporter: kaol | Owner:
Type: feature request | Status: new
Priority: normal | Component: libraries/base
Version: 6.10.3 | Severity: normal
Keywords: | Testcase:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
-----------------------------+----------------------------------------------
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.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3352>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs