From 575c009d4551d1bc7d10743a7402c513efc2925a Mon Sep 17 00:00:00 2001 From: aarne Date: Tue, 28 Dec 2010 08:49:51 +0000 Subject: [PATCH] added missing instance for mkNP for Ord for backward compatibility --- lib/src/api/Constructors.gf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/src/api/Constructors.gf b/lib/src/api/Constructors.gf index 387b67353..cfe1a6cfb 100644 --- a/lib/src/api/Constructors.gf +++ b/lib/src/api/Constructors.gf @@ -585,6 +585,8 @@ incomplete resource Constructors = open Grammar in { --% = \q,n -> DetCN (DetQuant q NumSg) n ; --% mkNP : Quant -> Num -> CN -> NP -- these five old men = \q,nu,n -> DetCN (DetQuant q nu) n ; --% + mkNP : Quant -> Num -> Ord -> CN -> NP -- these five best old men --% + = \q,nu,or,n -> DetCN (DetQuantOrd q nu or) n ; --% mkNP : Quant -> Num -> N -> NP -- these five men = \q,nu,n -> DetCN (DetQuant q nu) (UseN n) ; --% mkNP : Det -> CN -> NP -- the first old man --: