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

Lennart Augustsson lennart at augustsson.net
Mon Jan 26 11:34:36 EST 2009


I would not trust this weird combination of functions in ghci anyway.

2009/1/26 Alberto G. Corona <agocorona at gmail.com>:
> 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
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
>


More information about the Haskell-Cafe mailing list