mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-23 03:32:51 -06:00
gf-book web page index and toc
This commit is contained in:
12
gf-book/examples/chapter7/Query.gf
Normal file
12
gf-book/examples/chapter7/Query.gf
Normal file
@@ -0,0 +1,12 @@
|
||||
abstract Query = {
|
||||
flags startcat=Question ;
|
||||
cat
|
||||
Answer ; Question ; Object ;
|
||||
fun
|
||||
Even : Object -> Question ;
|
||||
Odd : Object -> Question ;
|
||||
Prime : Object -> Question ;
|
||||
Number : Int -> Object ;
|
||||
Yes : Answer ;
|
||||
No : Answer ;
|
||||
}
|
||||
Reference in New Issue
Block a user