diff options
| author | aarne <aarne@chalmers.se> | 2011-03-05 22:25:03 +0000 |
|---|---|---|
| committer | aarne <aarne@chalmers.se> | 2011-03-05 22:25:03 +0000 |
| commit | f32307b39db77a937aa87b0cd455acc639665cd6 (patch) | |
| tree | 17c89ce800d2b8db4991766aaf14457679e24178 /examples/gadt-transfer/Foods.gf | |
| parent | d9b5d3ed4d44705a4ea4be6fee2805c59ff0273e (diff) | |
added composOp generation to haskell-gadt, and an example in examples/gadt-transfer
Diffstat (limited to 'examples/gadt-transfer/Foods.gf')
| -rw-r--r-- | examples/gadt-transfer/Foods.gf | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/examples/gadt-transfer/Foods.gf b/examples/gadt-transfer/Foods.gf new file mode 100644 index 000000000..8ea02f39d --- /dev/null +++ b/examples/gadt-transfer/Foods.gf @@ -0,0 +1,15 @@ +-- (c) 2009 Aarne Ranta under LGPL + +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 ; +} |
