Proposal: Tidy up and export PSQ from base

Duncan Coutts duncan.coutts at googlemail.com
Tue May 3 16:19:09 CEST 2011


On Mon, 2011-05-02 at 01:26 +0100, Ian Lynagh wrote:
> On Sun, May 01, 2011 at 07:58:37PM -0400, Edward Z. Yang wrote:
> > 
> > Though, it seems I'm already too late to the party: GHC.Event.PSQ is
> > stolen from the PSQueue Hackage package, with some modifications (I
> > didn't realize this when I originally made my proposal).  So I hereby
> > amend my proposal:
> > 
> >     I propose we move PSQueue into containers, hereby putting it
> >     on even ground with IntMap.  Its notability for inclusion is hereby
> >     established by its use in the IO Event Manager and its projected
> >     use in Hoopl.
> 
> Why merge the two libraries, rather than just adding PSQueue to the set
> of bootlibs?

Adding a priority queue to the containers package seems to make more
sense than putting it in it's own package that is also distributed with
ghc and the Haskell Platform. If it's going to be exposed and part of
the HP anyway, why not just put it in with the other containers.

Duncan




More information about the Libraries mailing list