With every new GHC release, also released any new versions of libraries
Hi! As part of GHC releases users also get a bunch of libraries. These libraries (e.g. array-0.3.0.3 in the last release) aren't uploaded on Hackage. This has some problems, including users on older versions of GHC not being able to upgrade to the new versions and broken documentation on Hackage. I suggest that with each GHC release the new library releases should be uploaded to Hackage. Also, for libraries not maintained by GHC but shipped with the compiler (e.g. containers) the new releases should be done by the maintainers of those libraries to make sure no half-finished code gets shipped (i.e. the repo might not be in a good state to release at all times). P.S. Could someone please remind me why containers ships with GHC? Cheers, Johan ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
Re: With every new GHC release, also released any new versions of libraries
On Thursday 25 August 2011, 10:39:29, Johan Tibell wrote: > P.S. Could someone please remind me why containers ships with GHC? Some other packages shipped with GHC depend on containers, e.g. hoopl, template-haskell, haskeline, binary. And via haskeline, ghci depends on containers too. ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
Re: With every new GHC release, also released any new versions of libraries
On 25/08/2011 10:28, Daniel Fischer wrote: On Thursday 25 August 2011, 10:39:29, Johan Tibell wrote: P.S. Could someone please remind me why containers ships with GHC? Some other packages shipped with GHC depend on containers, e.g. hoopl, template-haskell, haskeline, binary. And via haskeline, ghci depends on containers too. GHC itself also uses containers directly these days. Cheers, Simon ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
Re: With every new GHC release, also released any new versions of libraries
On Thu, Aug 25, 2011 at 11:28 AM, Daniel Fischer wrote: > On Thursday 25 August 2011, 10:39:29, Johan Tibell wrote: >> P.S. Could someone please remind me why containers ships with GHC? > > Some other packages shipped with GHC depend on containers, e.g. hoopl, > template-haskell, haskeline, binary. So GHC uses some packages in its implementation, but that shouldn't have to mean that it also needs to export these. Is this a technical issue? As a thought experiment lets consider what would happen if GHC would like to use unordered-containers in its implementation. Should GHC now be making releases to unordered-containers? That doesn't sound like a good thing. ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
Re: With every new GHC release, also released any new versions of libraries
On Thu, Aug 25, 2011 at 01:36:13PM +0200, Johan Tibell wrote: > On Thu, Aug 25, 2011 at 11:28 AM, Daniel Fischer > wrote: > > On Thursday 25 August 2011, 10:39:29, Johan Tibell wrote: > >> P.S. Could someone please remind me why containers ships with GHC? > > > > Some other packages shipped with GHC depend on containers, e.g. hoopl, > > template-haskell, haskeline, binary. > > So GHC uses some packages in its implementation, but that shouldn't > have to mean that it also needs to export these. Is this a technical > issue? GHC needs to ship with anything that ghc-the-library transitively depends on, yes. > As a thought experiment lets consider what would happen if GHC would > like to use unordered-containers in its implementation. Should GHC now > be making releases to unordered-containers? That doesn't sound like a > good thing. There are certainly disadvantages to making GHC use a library. yes. We have to weigh them up against the advantages we get from using the library. Thanks Ian ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
Re: With every new GHC release, also released any new versions of libraries
On Thu, Aug 25, 2011 at 10:39:29AM +0200, Johan Tibell wrote: > > I suggest that with each GHC release the new library releases should > be uploaded to Hackage. They normally are, but in this case I ran out of time before disappearing for 2 weeks. They're now uploaded. Sorry for any inconvenience. Thanks Ian ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
Re: With every new GHC release, also released any new versions of libraries
On Thu, Aug 25, 2011 at 2:36 PM, Ian Lynagh wrote: > On Thu, Aug 25, 2011 at 10:39:29AM +0200, Johan Tibell wrote: >> >> I suggest that with each GHC release the new library releases should >> be uploaded to Hackage. > > They normally are, but in this case I ran out of time before > disappearing for 2 weeks. They're now uploaded. Sorry for any > inconvenience. No problem at all. I just wanted to know if uploading them was standard procedure or not. ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
Re: With every new GHC release, also released any new versions of libraries
FYI, as of 7.2 random wasn't shipped with GHC, but it's been updated on hackage as well (1.0.1.0). The API is still the haskell98 API, but there are some important bug fixes in there. Cheers, -Ryan On Thu, Aug 25, 2011 at 8:57 AM, Johan Tibell wrote: > On Thu, Aug 25, 2011 at 2:36 PM, Ian Lynagh wrote: > > On Thu, Aug 25, 2011 at 10:39:29AM +0200, Johan Tibell wrote: > >> > >> I suggest that with each GHC release the new library releases should > >> be uploaded to Hackage. > > > > They normally are, but in this case I ran out of time before > > disappearing for 2 weeks. They're now uploaded. Sorry for any > > inconvenience. > > No problem at all. I just wanted to know if uploading them was > standard procedure or not. > > ___ > Glasgow-haskell-users mailing list > Glasgow-haskell-users@haskell.org > http://www.haskell.org/mailman/listinfo/glasgow-haskell-users > ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
RE: With every new GHC release, also released any new versions of libraries
Johan Tibell writes: > As part of GHC releases users also get a bunch of libraries. These > libraries (e.g. array-0.3.0.3 in the last release) aren't uploaded on > Hackage. They have been in the past, by either Ian or me, but it seems a few were missed for 7.2.1. ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users