From ed51bb0f84523769612c9c05807f879e1985c59b Mon Sep 17 00:00:00 2001 From: Manuel M T Chakravarty Date: Tue, 10 Oct 2006 20:58:43 +0000 Subject: [PATCH] Removed unused unwrapFamInstBody from MkId --- compiler/basicTypes/MkId.lhs | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/compiler/basicTypes/MkId.lhs b/compiler/basicTypes/MkId.lhs index 3f24a85..d927e16 100644 --- a/compiler/basicTypes/MkId.lhs +++ b/compiler/basicTypes/MkId.lhs @@ -402,16 +402,6 @@ wrapFamInstBody tycon args result_expr = mkCoerce (mkSymCoercion (mkTyConApp co_con args)) result_expr | otherwise = result_expr - --- Apply the coercion in the opposite direction. --- -unwrapFamInstBody :: TyCon -> [Type] -> CoreExpr -> CoreExpr -unwrapFamInstBody tycon args result_expr - | Just co_con <- tyConFamilyCoercion_maybe tycon - = mkCoerce (mkTyConApp co_con args) result_expr - | otherwise - = result_expr - \end{code} -- 1.7.10.4