1
0
forked from GitHub/gf-core
Files
gf-core/gf-book/examples/chapter3/Foods.gf
2011-01-11 15:46:43 +00:00

14 lines
367 B
Plaintext

abstract Foods = {
flags startcat = Comment ;
cat
Comment ; Item ; Kind ; Quality ;
fun
Pred : Item -> Quality -> Comment ;
This, That, These, Those : Kind -> Item ;
Mod : Quality -> Kind -> Kind ;
Wine, Cheese, Fish, Pizza : Kind ;
Very : Quality -> Quality ;
Fresh, Warm, Italian,
Expensive, Delicious, Boring : Quality ;
}