summaryrefslogtreecommitdiff
path: root/gf-book/examples/chapter8/Geometry.gf
blob: 0b27d8714e127a3bebc3aa36c285c7283617fc6a (plain)
1
2
3
4
5
6
7
abstract Geometry = Logic ** {
fun
  Line, Point, Circle : Dom ;
  Intersect, Parallel : Ind -> Ind -> Atom ;
  Vertical : Ind -> Atom ;
  Centre : Ind -> Ind ;
}