projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Simon's hacking on monad-comp; incomplete
[ghc-hetmet.git]
/
compiler
/
vectorise
/
Vectorise
/
Type
/
Repr.hs
diff --git
a/compiler/vectorise/Vectorise/Type/Repr.hs
b/compiler/vectorise/Vectorise/Type/Repr.hs
index
40242ae
..
bb300ca
100644
(file)
--- a/
compiler/vectorise/Vectorise/Type/Repr.hs
+++ b/
compiler/vectorise/Vectorise/Type/Repr.hs
@@
-82,7
+82,7
@@
tyConRepr tc = sum_repr (tyConDataCons tc)
where
arity = length tys
- comp_repr ty = liftM (Keep ty) (prDictOfType ty)
+ comp_repr ty = liftM (Keep ty) (prDictOfReprType ty)
`orElseV` return (Wrap ty)
sumReprType :: SumRepr -> VM Type