Closed treeowl closed 2 years ago
I see you've added
Data.PQueue.Min.foldlAsc'
, that should be added to the changelog. Is there any reason you didn't addfoldrAsc'
,foldlDesc'
etc? I don't see any obvious reason whyfoldlAsc'
should be special.
For min-queues, the natural/efficient order-respecting folds are foldrAsc
, foldlAsc'
, foldlDesc
, and foldrDesc'
. I'm not convinced we want the wonky ones we already have (foldlAsc
and foldrDesc
) let alone any new ones. But you're right; I should deal with that all in a separate PR.
Add staging to make rules more likely to work out properly and get rid of rule/inline warnings.
Fixes #4