Added type signature for tcSplitSigmaTy.
authorbjorn@bringert.net <unknown>
Mon, 18 Sep 2006 23:09:25 +0000 (23:09 +0000)
committerbjorn@bringert.net <unknown>
Mon, 18 Sep 2006 23:09:25 +0000 (23:09 +0000)
compiler/typecheck/TcType.lhs

index cd4c4c7..3f1810f 100644 (file)
@@ -673,7 +673,6 @@ tcSplitPhiTy ty = split ty ty []
        | Just p <- tcSplitPredTy_maybe arg = split res res (p:ts)
   split orig_ty ty             ts = (reverse ts, orig_ty)
 
        | Just p <- tcSplitPredTy_maybe arg = split res res (p:ts)
   split orig_ty ty             ts = (reverse ts, orig_ty)
 
-tcSplitSigmaTy :: Type -> ([TyVar], ThetaType, Type)
 tcSplitSigmaTy ty = case tcSplitForAllTys ty of
                        (tvs, rho) -> case tcSplitPhiTy rho of
                                        (theta, tau) -> (tvs, theta, tau)
 tcSplitSigmaTy ty = case tcSplitForAllTys ty of
                        (tvs, rho) -> case tcSplitPhiTy rho of
                                        (theta, tau) -> (tvs, theta, tau)