
3 Sep
2008
3 Sep
'08
7:18 a.m.
On Wed, Sep 3, 2008 at 2:53 AM, Ashley Yakeley
It's worth mentioning that the current Data.Unique is part of the standard base library, while hs-plugins is rather experimental. Currently Data.Unique uses the "NOINLINE unsafePerformIO" hack to create its MVar. If hs-plugins duplicates that MVar, that's a bug in hs-plugins. It's up to a dynamic loader to get initialisation code correct.
Data.Unique describes itself as "experimental" and "non-portable". The
Haskell 98 report includes NOINLINE, but also states that environments
are not required to respect it. So hs-plugins wouldn't necessarily be
at fault if it didn't support Data.Unique.
--
Dave Menendez