From 1f342b2c25a5b3026de101028a56b3ff17e04e5b Mon Sep 17 00:00:00 2001 From: aarne Date: Thu, 16 Aug 2007 09:41:00 +0000 Subject: prepared mini syntax example --- doc/tutorial/resource/MorphoEng.gf | 3 +++ 1 file changed, 3 insertions(+) (limited to 'doc/tutorial/resource/MorphoEng.gf') 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 ; -- cgit v1.2.3