projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[project @ 1999-02-05 16:37:13 by sof]
[ghc-hetmet.git]
/
ghc
/
compiler
/
stranal
/
SaAbsInt.lhs
diff --git
a/ghc/compiler/stranal/SaAbsInt.lhs
b/ghc/compiler/stranal/SaAbsInt.lhs
index
dc1efe4
..
62c26ee
100644
(file)
--- a/
ghc/compiler/stranal/SaAbsInt.lhs
+++ b/
ghc/compiler/stranal/SaAbsInt.lhs
@@
-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