summaryrefslogtreecommitdiff
path: root/src/GF/Grammar/Macros.hs
diff options
context:
space:
mode:
authorkrasimir <krasimir@chalmers.se>2009-09-20 10:15:39 +0000
committerkrasimir <krasimir@chalmers.se>2009-09-20 10:15:39 +0000
commitcebd0560c831c6dda09a2841bc24c0e3bd9ea889 (patch)
tree9ea2a576f207c0084c4d5895b710c905bbff4045 /src/GF/Grammar/Macros.hs
parentb1a51f46f5d137ab4d65a4381b349af3291a944d (diff)
rename Decl in GF.Grammar.Grammar to Hypo to match the convention in PGF
Diffstat (limited to 'src/GF/Grammar/Macros.hs')
-rw-r--r--src/GF/Grammar/Macros.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/GF/Grammar/Macros.hs b/src/GF/Grammar/Macros.hs
index 6749f1bc9..72f0eb10a 100644
--- a/src/GF/Grammar/Macros.hs
+++ b/src/GF/Grammar/Macros.hs
@@ -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 = (==)