Combining Bag/OrdList?

Ben Gamari ben at smart-cactus.org
Sat Jun 2 17:57:12 UTC 2018


Jared Weakly <jweakly at pdx.edu> writes:

>> It looks to me like many of the applications of snocBag should really be
> using OrdList.
>
> Do you think there's benefit in refactoring to use ordList and then
> removing snoc/cons from the bag API (instead providing only operations that
> make no assumptions about ordering)?
>
Absolutely. I think that is the right direction to move. Please do give
it a stab if you would like!

Cheers,

- Ben
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 487 bytes
Desc: not available
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20180602/0e112269/attachment.sig>


More information about the ghc-devs mailing list