projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 2000-11-07 13:12:21 by simonpj]
[ghc-hetmet.git]
/
ghc
/
compiler
/
utils
/
FiniteMap.lhs
diff --git
a/ghc/compiler/utils/FiniteMap.lhs
b/ghc/compiler/utils/FiniteMap.lhs
index
cb7da6d
..
b4c4f60
100644
(file)
--- a/
ghc/compiler/utils/FiniteMap.lhs
+++ b/
ghc/compiler/utils/FiniteMap.lhs
@@
-57,9
+57,7
@@
module FiniteMap (
#define OUTPUTABLE_key {--}
#endif
#define OUTPUTABLE_key {--}
#endif
-import {-# SOURCE #-} Name ( Name )
import GlaExts
import GlaExts
-import FastString
import Maybes
import Bag ( Bag, foldrBag )
import Outputable
import Maybes
import Bag ( Bag, foldrBag )
import Outputable
@@
-587,8
+585,6
@@
glueVBal fm_l@(Branch key_l elt_l _ fm_ll fm_lr)
| otherwise -- We now need the same two cases as in glueBal above.
= glueBal fm_l fm_r
where
| otherwise -- We now need the same two cases as in glueBal above.
= glueBal fm_l fm_r
where
- (mid_key_l,mid_elt_l) = findMax fm_l
- (mid_key_r,mid_elt_r) = findMin fm_r
size_l = sizeFM fm_l
size_r = sizeFM fm_r
\end{code}
size_l = sizeFM fm_l
size_r = sizeFM fm_r
\end{code}