From e3892b82c0f1a73ce529dbfde2a2753475c94355 Mon Sep 17 00:00:00 2001 From: krasimir Date: Tue, 20 Jan 2009 14:33:42 +0000 Subject: remove some dead types from GF.Grammar.Grammar --- src/GF/Compile/TC.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/GF/Compile/TC.hs') diff --git a/src/GF/Compile/TC.hs b/src/GF/Compile/TC.hs index c0c8a83ae..f6e15b175 100644 --- a/src/GF/Compile/TC.hs +++ b/src/GF/Compile/TC.hs @@ -164,7 +164,7 @@ inferExp th tenv@(k,rho,gamma) e = case e of _ -> prtBad ("Prod expected for function" +++ prt f +++ "instead of") typ _ -> prtBad "cannot infer type of expression" e -checkEqs :: Theory -> TCEnv -> (Fun,Trm) -> Val -> Err [(Val,Val)] +checkEqs :: Theory -> TCEnv -> (Fun,Term) -> Val -> Err [(Val,Val)] checkEqs th tenv@(k,rho,gamma) (fun@(m,f),def) val = case def of Eqs es -> liftM concat $ mapM checkBranch es _ -> liftM snd $ checkExp th tenv def val -- cgit v1.2.3