Strictness tweaks
authorIan Lynagh <igloo@earth.li>
Sun, 3 Feb 2008 02:48:36 +0000 (02:48 +0000)
committerIan Lynagh <igloo@earth.li>
Sun, 3 Feb 2008 02:48:36 +0000 (02:48 +0000)
compiler/utils/UniqFM.lhs

index 61c858d..5b014ca 100644 (file)
@@ -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