forked from GitHub/gf-core
model for resource
This commit is contained in:
11
examples/model/Math.gf
Normal file
11
examples/model/Math.gf
Normal file
@@ -0,0 +1,11 @@
|
||||
abstract Math = {
|
||||
|
||||
cat Prop ; Elem ;
|
||||
|
||||
fun
|
||||
And : Prop -> Prop -> Prop ;
|
||||
Even : Elem -> Prop ;
|
||||
Odd : Elem -> Prop ;
|
||||
Zero : Elem ;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user