Data.PQueue.Min exposes a mapU function which is completely undocumented, and does not expose the more aptly named mapMonotonic. I believe we should expose mapMonotonic, and eventually deprecate mapU. mapU is not an "unordered" operation, as its name suggests; rather, it's a somewhat unsafe one.
Data.PQueue.Min
exposes amapU
function which is completely undocumented, and does not expose the more aptly namedmapMonotonic
. I believe we should exposemapMonotonic
, and eventually deprecatemapU
.mapU
is not an "unordered" operation, as its name suggests; rather, it's a somewhat unsafe one.