[Haskell-cafe] bug in System.Mem.StableName

Alberto G. Corona agocorona at gmail.com
Mon Jan 26 08:46:05 EST 2009


Sometimes the StableName library gives different values for the samr
function: Sometines gives two alternate values. I checked it in ghc-6.10.1
under windows and in ghc-6.8.2 under Linux:

This is an example

Prelude>
System.Mem.StableName.hashStableName.System.IO.Unsafe.unsafePerformIO $
 System.Mem.StableName.makeStableName (*)
15
Prelude>
System.Mem.StableName.hashStableName.System.IO.Unsafe.unsafePerformIO $
 System.Mem.StableName.makeStableName (*)
14
Prelude>
System.Mem.StableName.hashStableName.System.IO.Unsafe.unsafePerformIO $
 System.Mem.StableName.makeStableName (*)
15
Prelude>
System.Mem.StableName.hashStableName.System.IO.Unsafe.unsafePerformIO $
 System.Mem.StableName.makeStableName (*)
14
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20090126/86eae16c/attachment.htm


More information about the Haskell-Cafe mailing list