summaryrefslogtreecommitdiff
path: root/doc/tutorial/MorefoodEng.gf
diff options
context:
space:
mode:
authoraarne <aarne@cs.chalmers.se>2005-12-18 21:26:21 +0000
committeraarne <aarne@cs.chalmers.se>2005-12-18 21:26:21 +0000
commit6398140d0ac21ad05a0c595b77007631cd5e1265 (patch)
treefae648d7e9e344fa850be37f1eb0b3b29e8f17e6 /doc/tutorial/MorefoodEng.gf
parenta205829623ea7b928c84e56cd6453148f123a3d5 (diff)
new tutorial example
Diffstat (limited to 'doc/tutorial/MorefoodEng.gf')
-rw-r--r--doc/tutorial/MorefoodEng.gf7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/tutorial/MorefoodEng.gf b/doc/tutorial/MorefoodEng.gf
new file mode 100644
index 000000000..90ff1532a
--- /dev/null
+++ b/doc/tutorial/MorefoodEng.gf
@@ -0,0 +1,7 @@
+concrete MorefoodEng of Morefood = FoodEng ** {
+ lincat
+ Question = {s : Str} ;
+ lin
+ QIs item quality = {s = "is" ++ item.s ++ quality.s} ;
+ Pizza = {s = "pizza"} ;
+} \ No newline at end of file