summaryrefslogtreecommitdiff
path: root/doc/tutorial/arithm/Arithm.gf
diff options
context:
space:
mode:
authoraarne <aarne@cs.chalmers.se>2006-06-01 16:16:18 +0000
committeraarne <aarne@cs.chalmers.se>2006-06-01 16:16:18 +0000
commit013f3ce803cac0d6b0d6f100f4561fb8a0e892fe (patch)
tree1a0e76c97ec0a73ec35b2ce29b86481994609049 /doc/tutorial/arithm/Arithm.gf
parent89bd3aff33b7775dd0b1b6290828806c3e5f1c90 (diff)
resource examples in tutorial
Diffstat (limited to 'doc/tutorial/arithm/Arithm.gf')
-rw-r--r--doc/tutorial/arithm/Arithm.gf13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/tutorial/arithm/Arithm.gf b/doc/tutorial/arithm/Arithm.gf
new file mode 100644
index 000000000..00d6b4780
--- /dev/null
+++ b/doc/tutorial/arithm/Arithm.gf
@@ -0,0 +1,13 @@
+abstract Arithm = {
+
+ cat
+ Prop ;
+ Nat ;
+
+ fun
+ Zero : Nat ;
+ Succ : Nat -> Nat ;
+ Even : Nat -> Prop ;
+ And : Prop -> Prop -> Prop ;
+
+}