summaryrefslogtreecommitdiff
path: root/doc/tutorial/resource/MorphoEng.gf
diff options
context:
space:
mode:
Diffstat (limited to 'doc/tutorial/resource/MorphoEng.gf')
-rw-r--r--doc/tutorial/resource/MorphoEng.gf3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/tutorial/resource/MorphoEng.gf b/doc/tutorial/resource/MorphoEng.gf
index a6a25b08c..829688c01 100644
--- a/doc/tutorial/resource/MorphoEng.gf
+++ b/doc/tutorial/resource/MorphoEng.gf
@@ -8,6 +8,9 @@ resource MorphoEng = open Prelude in {
oper
Noun, Verb : Type = {s : Number => Str} ;
+ NP = {s : Str ; n : Number} ;
+ VP = {s : Bool => Bool => Number => Str * Str} ; -- decl, pol
+
mkNoun : Str -> Str -> Noun = \x,y -> {
s = table {
Sg => x ;