[Haskell-cafe] Symmetric Difference for Data.Set and Data.IntSet?

Zemyla zemyla at gmail.com
Sun Jun 21 00:49:43 UTC 2015

Could this be implemented as a primitive? I know it can be made from union
and difference, or doing toList on both of them, taking the symmetric
difference, and using fromDistinctAscList on the result, but it'd probably
be much faster if it could be done natively, like can be done with

Alternatively, could we get a merge interface for Set and IntSet roughly
matching Map and IntMap?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20150620/8b8a33b5/attachment.html>

More information about the Haskell-Cafe mailing list