projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
6270b3e
)
Remove redundant debug code
author
simonpj@microsoft.com
<unknown>
Tue, 1 Jun 2010 15:41:51 +0000
(15:41 +0000)
committer
simonpj@microsoft.com
<unknown>
Tue, 1 Jun 2010 15:41:51 +0000
(15:41 +0000)
compiler/coreSyn/CoreUnfold.lhs
patch
|
blob
|
history
diff --git
a/compiler/coreSyn/CoreUnfold.lhs
b/compiler/coreSyn/CoreUnfold.lhs
index
e73e4b0
..
0a398d1
100644
(file)
--- a/
compiler/coreSyn/CoreUnfold.lhs
+++ b/
compiler/coreSyn/CoreUnfold.lhs
@@
-1265,11
+1265,7
@@
exprIsConApp_maybe id_unf expr
= Nothing
beta fun pairs args
- = case analyse (substExpr (text "subst-expr-is-con-app") subst fun) args of
- Nothing -> -- pprTrace "Bale out! exprIsConApp_maybe" doc $
- Nothing
- Just ans -> -- pprTrace "Woo-hoo! exprIsConApp_maybe" doc $
- Just ans
+ = analyse (substExpr (text "subst-expr-is-con-app") subst fun) args
where
subst = mkOpenSubst (mkInScopeSet (exprFreeVars fun)) pairs
-- doc = vcat [ppr fun, ppr expr, ppr pairs, ppr args]