[GHC] #2470: read for StdGen fails for arbitrary string

GHC trac at galois.com
Mon Jul 28 17:11:04 EDT 2008


#2470: read for StdGen fails for arbitrary string
------------------------------+---------------------------------------------
 Reporter:  guest             |          Owner:         
     Type:  bug               |         Status:  closed 
 Priority:  normal            |      Milestone:         
Component:  libraries/random  |        Version:  6.8.3  
 Severity:  normal            |     Resolution:  invalid
 Keywords:  StdGen read       |     Difficulty:  Unknown
 Testcase:                    |   Architecture:  x86    
       Os:  Windows           |  
------------------------------+---------------------------------------------
Comment (by guest):

 igloo:  would it be appropriate to document the "read 6 characters"?  Just
 a final thought.  At a minimum, my interpretation of the phrase "using
 different strings is likely to result in different generators" is strongly
 violated by a dependency on the first six characters, unless that's
 documented.

 No worries either way.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2470#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list