Permalink
Browse files

exported insertWith'

  • Loading branch information...
1 parent afac12b commit a8cb09bf33335656a77943702fb53f08056d72c4 @ekmett committed Feb 8, 2011
Showing with 5 additions and 1 deletion.
  1. +1 −1 System/Mem/StableName/Dynamic/Map.hs
  2. +4 −0 stable-maps.cabal
@@ -7,6 +7,7 @@ module System.Mem.StableName.Dynamic.Map
, notMember
, insert
, insertWith
+ , insertWith'
, lookup
, find
, findWithDefault
@@ -17,7 +18,6 @@ import Prelude hiding (lookup, null)
import System.Mem.StableName.Dynamic
import qualified Data.IntMap as IntMap
import Data.IntMap (IntMap)
-import Unsafe.Coerce (unsafeCoerce)
newtype Map a = Map { getMap :: IntMap [(DynamicStableName, a)] }
View
@@ -11,6 +11,10 @@ Category: Math
Build-type: Simple
Cabal-version: >=1.6
+source-repository head
+ type: git
+ location: git://github.com/ekmett/stable-maps.git
+
Library
Exposed-modules: System.Mem.StableName.Map
System.Mem.StableName.Dynamic

0 comments on commit a8cb09b

Please sign in to comment.