summaryrefslogtreecommitdiff
path: root/examples/model/Math.gf
diff options
context:
space:
mode:
authoraarne <aarne@cs.chalmers.se>2007-02-28 15:49:13 +0000
committeraarne <aarne@cs.chalmers.se>2007-02-28 15:49:13 +0000
commit6248b4a1c79015f2fee994d61240b22fc2ed151e (patch)
tree9fd03e014fd6b219e53fbaa6a0494f64554f3d13 /examples/model/Math.gf
parentb7890313963071961bdf4ac45f69a42da8977d95 (diff)
model for resource
Diffstat (limited to 'examples/model/Math.gf')
-rw-r--r--examples/model/Math.gf11
1 files changed, 11 insertions, 0 deletions
diff --git a/examples/model/Math.gf b/examples/model/Math.gf
new file mode 100644
index 000000000..036cab294
--- /dev/null
+++ b/examples/model/Math.gf
@@ -0,0 +1,11 @@
+abstract Math = {
+
+ cat Prop ; Elem ;
+
+ fun
+ And : Prop -> Prop -> Prop ;
+ Even : Elem -> Prop ;
+ Odd : Elem -> Prop ;
+ Zero : Elem ;
+
+}