Skip to content

Commit

Permalink
Remove unused exports
Browse files Browse the repository at this point in the history
An unused 'Show' instance was also removed.
  • Loading branch information
rockbmb committed Oct 17, 2017
1 parent 0a44b05 commit f344e35
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
5 changes: 1 addition & 4 deletions Data/HashMap/Base.hs
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,9 @@ module Data.HashMap.Base
, lookupDefault
, (!)
, insert
, insertInternal
, insertWith
, unsafeInsert
, delete
, deleteInternal
, adjust
, update
, alter
Expand All @@ -37,7 +35,6 @@ module Data.HashMap.Base
, union
, unionWith
, unionWithKey
, unionWithKeyInternal
, unions

-- * Transformations
Expand Down Expand Up @@ -143,7 +140,7 @@ hash :: H.Hashable a => a -> Hash
hash = fromIntegral . H.hash

data Leaf k v = L !k v
deriving (Eq, Show)
deriving Eq

instance (NFData k, NFData v) => NFData (Leaf k v) where
rnf (L k v) = rnf k `seq` rnf v
Expand Down
3 changes: 1 addition & 2 deletions Data/HashMap/Strict.hs
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,7 @@ import qualified Data.HashMap.Base as HM
import Data.HashMap.Base hiding (
alter, adjust, fromList, fromListWith, insert, insertWith, differenceWith,
intersectionWith, intersectionWithKey, map, mapWithKey, mapMaybe,
mapMaybeWithKey, singleton, update, unionWith, unionWithKey,
unionWithKeyInternal)
mapMaybeWithKey, singleton, update, unionWith, unionWithKey)
import Data.HashMap.Unsafe (runST)

-- $strictness
Expand Down

0 comments on commit f344e35

Please sign in to comment.