projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5cdd6d8
)
Strictness tweaks
author
Ian Lynagh
<igloo@earth.li>
Sun, 3 Feb 2008 02:48:36 +0000
(
02:48
+0000)
committer
Ian Lynagh
<igloo@earth.li>
Sun, 3 Feb 2008 02:48:36 +0000
(
02:48
+0000)
compiler/utils/UniqFM.lhs
patch
|
blob
|
history
diff --git
a/compiler/utils/UniqFM.lhs
b/compiler/utils/UniqFM.lhs
index
61c858d
..
5b014ca
100644
(file)
--- a/
compiler/utils/UniqFM.lhs
+++ b/
compiler/utils/UniqFM.lhs
@@
-203,9
+203,9
@@
First, the DataType itself; which is either a Node, a Leaf, or an Empty.
\begin{code}
data UniqFM ele
= EmptyUFM
- | LeafUFM FastInt ele
- | NodeUFM FastInt -- the switching
- FastInt -- the delta
+ | LeafUFM !FastInt ele
+ | NodeUFM !FastInt -- the switching
+ !FastInt -- the delta
(UniqFM ele)
(UniqFM ele)
-- INVARIANT: the children of a NodeUFM are never EmptyUFMs