Proposal: Stop enforcing single-writer-multi-reader file access

Ian Lynagh igloo at earth.li
Thu Oct 27 19:13:09 CEST 2011


On Thu, Oct 27, 2011 at 11:14:05AM -0500, Antoine Latter wrote:
> On Thu, Oct 27, 2011 at 11:09 AM, Bas van Dijk <v.dijk.bas at gmail.com> wrote:
> 
> > It does create the situation that once this change gets released in a
> > new base package, the haskell2010 package will loose Haskell 2010
> > compatibility because it depends on base for its IO functions. We
> > could then of course add custom IO functions to haskell2010 that are
> > compatible with Haskell 2010. However I think it's best to just
> > quickly change the Haskell 2010 report and have a short period where
> > the haskell2010 package is incompatible with Haskell 2010.
> 
> Wouldn't the Haskell2010 report remain unchanged by this? I imagine
> this would be incorporated into Haskell2012, or whatever the next
> revision is going to be.

Yes, and really we ought to add wrappers that do the locking to the
haskell2010 and haskell98 packages.

(which also means we wouldn't apply my ghc patch, now I think about it).

(in actual fact, I doubt anyone actually uses these packages, and
personally I think the standard shouldn't define the libraries, but
that's another debate!)

(hmm, haskell2010 has 3 revdeps, according to
    http://revdeps.hackage.haskell.org/~roel/cgi-bin/hackage-scripts/revdeps/haskell2010-1.1.0.0
haskell98 claims to have 294, but I bet most don't compile).


Thanks
Ian




More information about the Libraries mailing list