diff options
Diffstat (limited to 'book/examples/chapter8/Geometry.gf')
| -rw-r--r-- | book/examples/chapter8/Geometry.gf | 7 |
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 ; +} |
