import MatchLit ( matchLiterals )
import FieldLabel ( FieldLabel {- Eq instance -} )
-import Id ( idType, mkTupleCon, dataConFieldLabels,
+import Id ( idType, dataConFieldLabels,
dataConArgTys, recordSelectorFieldLabel,
GenId{-instance-}
)
)
import TysWiredIn ( nilDataCon, consDataCon, mkTupleTy, mkListTy,
charTy, charDataCon, intTy, intDataCon,
- floatTy, floatDataCon, doubleTy,
+ floatTy, floatDataCon, doubleTy, tupleCon,
doubleDataCon, stringTy, addrTy,
addrDataCon, wordTy, wordDataCon
)
where
arity = length pats
tuple_ConPat
- = ConPat (mkTupleCon arity)
+ = ConPat (tupleCon arity)
(mkTupleTy arity (map outPatType pats))
pats