Tweak strictness
authorIan Lynagh <igloo@earth.li>
Sat, 2 Feb 2008 21:35:42 +0000 (21:35 +0000)
committerIan Lynagh <igloo@earth.li>
Sat, 2 Feb 2008 21:35:42 +0000 (21:35 +0000)
compiler/utils/UniqFM.lhs

index 59158f3..de02227 100644 (file)
@@ -698,7 +698,7 @@ insert_ele  f (LeafUFM j old) i new
                          (indexToRoot j))
                 (mkLeafUFM i new)
                 (mkLeafUFM j old)
-  | j ==# i  = mkLeafUFM j (f old new)
+  | j ==# i  = mkLeafUFM j $! f old new
   | otherwise =
          mkLLNodeUFM (getCommonNodeUFMData
                          (indexToRoot i)