mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-22 19:22:50 -06:00
resource examples in tutorial
This commit is contained in:
13
doc/tutorial/arithm/Arithm.gf
Normal file
13
doc/tutorial/arithm/Arithm.gf
Normal file
@@ -0,0 +1,13 @@
|
||||
abstract Arithm = {
|
||||
|
||||
cat
|
||||
Prop ;
|
||||
Nat ;
|
||||
|
||||
fun
|
||||
Zero : Nat ;
|
||||
Succ : Nat -> Nat ;
|
||||
Even : Nat -> Prop ;
|
||||
And : Prop -> Prop -> Prop ;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user