summaryrefslogtreecommitdiff
path: root/book/examples/chapter8/Geometry.gf
diff options
context:
space:
mode:
Diffstat (limited to 'book/examples/chapter8/Geometry.gf')
-rw-r--r--book/examples/chapter8/Geometry.gf7
1 files changed, 7 insertions, 0 deletions
diff --git a/book/examples/chapter8/Geometry.gf b/book/examples/chapter8/Geometry.gf
new file mode 100644
index 000000000..0b27d8714
--- /dev/null
+++ b/book/examples/chapter8/Geometry.gf
@@ -0,0 +1,7 @@
+abstract Geometry = Logic ** {
+fun
+ Line, Point, Circle : Dom ;
+ Intersect, Parallel : Ind -> Ind -> Atom ;
+ Vertical : Ind -> Atom ;
+ Centre : Ind -> Ind ;
+}