X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2Ftypes%2FFamInstEnv.lhs;h=f6e76a7161caebad2a4f798a0b92a80bb89f5675;hb=ced4c13ea3577e01556a2f76c2cc458c0be6c83c;hp=7f698ded3f91cb8d2f26e5b100efbf9d936c81e0;hpb=89e484f7a0e0c5b6a394b93631abfbeb51850c6c;p=ghc-hetmet.git diff --git a/compiler/types/FamInstEnv.lhs b/compiler/types/FamInstEnv.lhs index 7f698de..f6e76a7 100644 --- a/compiler/types/FamInstEnv.lhs +++ b/compiler/types/FamInstEnv.lhs @@ -476,11 +476,11 @@ normaliseType env (TyConApp tc tys) normaliseType env (AppTy ty1 ty2) = let (coi1,nty1) = normaliseType env ty1 (coi2,nty2) = normaliseType env ty2 - in (mkAppTyCoI coi1 coi2, AppTy nty1 nty2) + in (mkAppTyCoI coi1 coi2, mkAppTy nty1 nty2) normaliseType env (FunTy ty1 ty2) = let (coi1,nty1) = normaliseType env ty1 (coi2,nty2) = normaliseType env ty2 - in (mkFunTyCoI coi1 coi2, FunTy nty1 nty2) + in (mkFunTyCoI coi1 coi2, mkFunTy nty1 nty2) normaliseType env (ForAllTy tyvar ty1) = let (coi,nty1) = normaliseType env ty1 in (mkForAllTyCoI tyvar coi, ForAllTy tyvar nty1)