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 1dfa67a30a
commit 94068df3fb
4 changed files with 15 additions and 15 deletions

View File

@@ -30,7 +30,7 @@ module GF.Grammar.Grammar (SourceGrammar,
TInfo(..),
Label(..),
MetaSymb(..),
Decl,
Hypo,
Context,
Equation,
Labelling,
@@ -200,8 +200,8 @@ data Label =
newtype MetaSymb = MetaSymb Int deriving (Read, Show, Eq, Ord)
type Decl = (Ident,Term) -- (x:A) (_:A) A
type Context = [Decl] -- (x:A)(y:B) (x,y:A) (_,_:A)
type Hypo = (Ident,Term) -- (x:A) (_:A) A
type Context = [Hypo] -- (x:A)(y:B) (x,y:A) (_,_:A)
type Equation = ([Patt],Term)
type Labelling = (Label, Term)