forked from GitHub/gf-core
compiling examples for doc started
This commit is contained in:
4
examples/compiling/Compex.gf
Normal file
4
examples/compiling/Compex.gf
Normal file
@@ -0,0 +1,4 @@
|
||||
abstract Compex = {
|
||||
cat Prop ; Ind ;
|
||||
fun Even : Ind -> Prop ;
|
||||
}
|
||||
8
examples/compiling/CompexEng.gf
Normal file
8
examples/compiling/CompexEng.gf
Normal file
@@ -0,0 +1,8 @@
|
||||
concrete CompexEng of Compex = open MathematicalEng, ParadigmsEng, Prelude in {
|
||||
lincat
|
||||
Prop = {s : Bool => Str} ;
|
||||
Ind = NP ;
|
||||
lin
|
||||
Even : Ind -> Prop ;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user