diff options
Diffstat (limited to 'book/examples/chapter4/Comments.gf')
| -rw-r--r-- | book/examples/chapter4/Comments.gf | 10 |
1 files changed, 10 insertions, 0 deletions
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 ; +} |
