summaryrefslogtreecommitdiff
path: root/doc/tutorial/Foodmarket.gf
blob: 18bbe685307ca143551f06846523238a2fd3777d (plain)
1
2
3
4
5
abstract Foodmarket = Food, Fruit, Mushroom ** {
    fun 
      FruitKind    : Fruit    -> Kind ;
      MushroomKind : Mushroom -> Kind ;
}