forked from GitHub/gf-core
16 lines
252 B
Plaintext
16 lines
252 B
Plaintext
concrete QueryEng of Query = {
|
|
lincat
|
|
Answer, Question, Object = Str ;
|
|
|
|
lin
|
|
Even x = "is" ++ x ++ "even" ;
|
|
Odd x = "is" ++ x ++ "odd" ;
|
|
Prime x = "is" ++ x ++ "prime" ;
|
|
Number n = n.s ;
|
|
|
|
Yes = "yes" ;
|
|
No = "no" ;
|
|
|
|
}
|
|
|