rename Decl in GF.Grammar.Grammar to Hypo to match the convention in PGF

This commit is contained in:
krasimir
2009-09-20 10:15:39 +00:00
parent b1a51f46f5
commit cebd0560c8
4 changed files with 15 additions and 15 deletions

View File

@@ -276,8 +276,8 @@ mkCTable :: [Ident] -> Term -> Term
mkCTable ids v = foldr ccase v ids where
ccase x t = T TRaw [(PV x,t)]
mkDecl :: Term -> Decl
mkDecl typ = (identW, typ)
mkHypo :: Term -> Hypo
mkHypo typ = (identW, typ)
eqStrIdent :: Ident -> Ident -> Bool
eqStrIdent = (==)