projects
/
ghc-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36e4c46
)
[project @ 2005-12-03 17:32:01 by jpbernardy]
author
jpbernardy
<unknown>
Sat, 3 Dec 2005 17:32:01 +0000
(17:32 +0000)
committer
jpbernardy
<unknown>
Sat, 3 Dec 2005 17:32:01 +0000
(17:32 +0000)
Removed spurious constraint for Monoid (IntMap a) instance
Data/IntMap.hs
patch
|
blob
|
history
diff --git
a/Data/IntMap.hs
b/Data/IntMap.hs
index
1be0bbe
..
4c5246c
100644
(file)
--- a/
Data/IntMap.hs
+++ b/
Data/IntMap.hs
@@
-212,7
+212,7
@@
type Prefix = Int
type Mask = Int
type Key = Int
-instance Ord a => Monoid (IntMap a) where
+instance Monoid (IntMap a) where
mempty = empty
mappend = union
mconcat = unions