File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -967,7 +967,7 @@ insertModifying x f k0 m0 = go h0 k0 0 m0
967
967
| hy == h = if ky == k
968
968
then case f y of
969
969
(# v' # ) | ptrEq y v' -> t
970
- | otherwise -> Leaf h (L k (v') )
970
+ | otherwise -> Leaf h (L k v' )
971
971
else collision h l (L k x)
972
972
| otherwise = runST (two s h k x hy t)
973
973
go h k s t@ (BitmapIndexed b ary)
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ pSingletonKeyStrict :: Int -> Bool
48
48
pSingletonKeyStrict v = isBottom $ HM. singleton (bottom :: Key ) v
49
49
50
50
pSingletonValueStrict :: Key -> Bool
51
- pSingletonValueStrict k = isBottom $ ( HM. singleton k (bottom :: Int ) )
51
+ pSingletonValueStrict k = isBottom $ HM. singleton k (bottom :: Int )
52
52
53
53
pLookupDefaultKeyStrict :: Int -> HashMap Key Int -> Bool
54
54
pLookupDefaultKeyStrict def m = isBottom $ HM. lookupDefault def bottom m
You can’t perform that action at this time.
0 commit comments