From 76ba03b545600054176612201de78dca16eb65e1 Mon Sep 17 00:00:00 2001 From: aarne Date: Mon, 22 Nov 2010 12:55:37 +0000 Subject: started a subdir for the book --- book/examples/chapter4/Comments.gf | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 book/examples/chapter4/Comments.gf (limited to 'book/examples/chapter4/Comments.gf') diff --git a/book/examples/chapter4/Comments.gf b/book/examples/chapter4/Comments.gf new file mode 100644 index 000000000..ba36024f3 --- /dev/null +++ b/book/examples/chapter4/Comments.gf @@ -0,0 +1,10 @@ +abstract Comments = { + flags startcat = Comment ; + cat + Comment ; Item ; Kind ; Quality ; + fun + Pred : Item -> Quality -> Comment ; + This, That, These, Those : Kind -> Item ; + Mod : Quality -> Kind -> Kind ; + Very : Quality -> Quality ; +} -- cgit v1.2.3