#5242: IntMap.differenceKeysSet for removing an IntSet of keys
--------------------------------+-------------------------------------------
Reporter: liyang | Owner: fox@…
Type: feature request | Status: closed
Priority: normal | Milestone: 7.6.1
Component: libraries (other) | Version: 7.1
Resolution: wontfix | Keywords: containers
Os: Unknown/Multiple | Architecture: Unknown/Multiple
Failure: None/Unknown | Difficulty:
Testcase: | Blockedby:
Blocking: | Related:
--------------------------------+-------------------------------------------
Changes (by milan):
* status: patch => closed
* resolution: => wontfix
Comment:
Hi,
I am closing the proposal. The representation of IntSet has changed in the
development version of containers and no longer corresponds 1:1 to IntMap.
The patch could be modified to reflect this, but I do not believe the
differenceKeysSet method is worth fiddling with IntSet internals in IntMap
module.
FYI, Data.IntMap.fromSet will be provided in the new version of
containers. So it will be possible to do IntMap.difference map (fromSet
(const ()) set).
Cheers,
Milan
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5242#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs