[project @ 1999-02-05 16:37:13 by sof]
[ghc-hetmet.git] / ghc / compiler / stranal / SaAbsInt.lhs
index dc1efe4..62c26ee 100644 (file)
@@ -630,7 +630,7 @@ findStrictness :: [Type]            -- Types of args in which strictness is wanted
 findStrictness tys str_val abs_val
   = (map find_str tys_w_index, isBot (foldl (absApply StrAnal) str_val all_tops))
   where
-    tys_w_index = tys `zip` [1..]
+    tys_w_index = tys `zip` [(1::Int) ..]
 
     find_str (ty,n) = findRecDemand str_fn abs_fn ty
                    where