projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0884a2c
)
Spelling error in comment
author
simonpj@microsoft.com
<unknown>
Thu, 7 Jan 2010 15:11:27 +0000
(15:11 +0000)
committer
simonpj@microsoft.com
<unknown>
Thu, 7 Jan 2010 15:11:27 +0000
(15:11 +0000)
compiler/types/TyCon.lhs
patch
|
blob
|
history
diff --git
a/compiler/types/TyCon.lhs
b/compiler/types/TyCon.lhs
index
0959699
..
963f93c
100644
(file)
--- a/
compiler/types/TyCon.lhs
+++ b/
compiler/types/TyCon.lhs
@@
-836,7
+836,7
@@
isOpenSynTyCon :: TyCon -> Bool
isOpenSynTyCon tycon = isSynTyCon tycon && isOpenTyCon tycon
isDecomposableTyCon :: TyCon -> Bool
--- True iff we can deocmpose (T a b c) into ((T a b) c)
+-- True iff we can decompose (T a b c) into ((T a b) c)
-- Specifically NOT true of synonyms (open and otherwise) and coercions
isDecomposableTyCon (SynTyCon {}) = False
isDecomposableTyCon (CoTyCon {}) = False