[GHC] #4314: Move 'split' from the 'RandomGen' class to a new
'SplittableGen' class
GHC
cvs-ghc at haskell.org
Tue Sep 14 19:39:52 EDT 2010
#4314: Move 'split' from the 'RandomGen' class to a new 'SplittableGen' class
---------------------------------+------------------------------------------
Reporter: TomMD | Owner:
Type: proposal | Status: new
Priority: normal | Component: libraries/random
Version: 6.12.3 | Keywords:
Testcase: | Blockedby:
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: None/Unknown
---------------------------------+------------------------------------------
The proposal is to:
1) Create the 'SplittableGen' class in System.Random:
class SplittableGen g where split :: g -> (g,g)
2) (Re)move the 'split' routine from RandomGen.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4314>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list