Proposal: Add newUniqueSTM to Data.Unique

Sebastian Fischer fischer at
Thu Jan 20 01:55:54 CET 2011

> Alternately, since bug #3838 has been resolved, we could revert to using an
> IORef

Are there advantages of using STM now that bug #3838 does not need to be
worked around? Would it be worthwhile to have both IO and STM interfaces for
unique identifiers so those who want them in STM don't need to use an unsafe

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Libraries mailing list