summaryrefslogtreecommitdiff
path: root/src/PGF.hs
diff options
context:
space:
mode:
authorkrasimir <krasimir@chalmers.se>2009-07-05 15:44:52 +0000
committerkrasimir <krasimir@chalmers.se>2009-07-05 15:44:52 +0000
commit279ff9a6d28c87e1a6c105d9d33df2511fb8f132 (patch)
treea31ecbb34830c6566eb556e6aefaccb1551eabf7 /src/PGF.hs
parent3394c171edf60bf21d46e628032c3369a4ee10b3 (diff)
PGF.Type.Hypo now can represent explicit and implicit arguments and argument without bound variable
Diffstat (limited to 'src/PGF.hs')
-rw-r--r--src/PGF.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PGF.hs b/src/PGF.hs
index 5fd98fa25..8ac936e70 100644
--- a/src/PGF.hs
+++ b/src/PGF.hs
@@ -279,7 +279,7 @@ languages pgf = cncnames pgf
languageCode pgf lang =
fmap (replace '_' '-') $ lookConcrFlag pgf lang (mkCId "language")
-categories pgf = [DTyp [] c [EMeta i | (Hyp _ _,i) <- zip hs [0..]] | (c,hs) <- Map.toList (cats (abstract pgf))]
+categories pgf = [DTyp [] c (map EMeta [0..length hs]) | (c,hs) <- Map.toList (cats (abstract pgf))]
startCat pgf = DTyp [] (lookStartCat pgf) []