On Wed, Sep 3, 2008 at 2:53 AM, Ashley Yakeley <[EMAIL PROTECTED]> wrote:
>
> 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 <[EMAIL PROTECTED]>
<http://www.eyrie.org/~zednenem/>
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to