On Wed, Jun 08, 2005 at 01:13:47PM +0200, Gracjan Polak wrote: > To put it another way: is Data.Map only workaround to get something > done, or is it The Right Way of doing PQs in Haskell? I think it is a workaround. There is a problem with equal priorities - you have to do some additional work to handle them properly. Best regards Tomasz