[Haskell-cafe] Re: [Haskell] Top Level <-
David Menendez
dave at zednenem.com
Wed Sep 3 03:18:08 EDT 2008
On Wed, Sep 3, 2008 at 2:53 AM, Ashley Yakeley <ashley at semantic.org> 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 <dave at zednenem.com>
<http://www.eyrie.org/~zednenem/>
More information about the Haskell-Cafe
mailing list