[Haskell-cafe] Symmetric Difference for Data.Set and Data.IntSet?
ben.franksen at online.de
Sun Jul 5 22:33:33 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?
"Make it so they have to reboot after every typo." ― Scott Adams
More information about the Haskell-Cafe