On 27/05/2011 08:35, Emil Axelsson wrote:
Hello!
Lacking a proper blog, I've written some notes about Data.Unique here:
http://community.haskell.org/~emax/darcs/MoreUnique/
This describes a real problem that makes Data.Unique unsuitable for
implementing observable sharing.
The document also proposes a solution that uses time stamps to generate
symbols that are "more unique".
Does anyone have any comments on the proposed solution? Are there any
alternatives available?
This has nothing to do with Unique, you are simply using unsafePerformIO
in an unsafe way. It is called unsafePerformIO for a reason :-)
Cheers,
Simon
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe