From 3e174603abf15a5875db512aa45ad78cd5a019e4 Mon Sep 17 00:00:00 2001 From: aarne Date: Tue, 3 Jul 2007 15:29:23 +0000 Subject: contents of new tutorial --- doc/tutorial-next/Food.gf | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 doc/tutorial-next/Food.gf (limited to 'doc/tutorial-next/Food.gf') diff --git a/doc/tutorial-next/Food.gf b/doc/tutorial-next/Food.gf new file mode 100644 index 000000000..1a2d38d1e --- /dev/null +++ b/doc/tutorial-next/Food.gf @@ -0,0 +1,14 @@ +abstract Food = { + + cat + S ; Item ; Kind ; Quality ; + + fun + Is : Item -> Quality -> S ; + This, That : Kind -> Item ; + QKind : Quality -> Kind -> Kind ; + Wine, Cheese, Fish : Kind ; + Very : Quality -> Quality ; + Fresh, Warm, Italian, Expensive, Delicious, Boring : Quality ; + +} \ No newline at end of file -- cgit v1.2.3