forked from GitHub/gf-core
started resource implementation of query language
This commit is contained in:
17
examples/tutorial/semantics/LexBase.gf
Normal file
17
examples/tutorial/semantics/LexBase.gf
Normal file
@@ -0,0 +1,17 @@
|
||||
interface LexBase = open Syntax in {
|
||||
|
||||
oper
|
||||
even_A : A ;
|
||||
odd_A : A ;
|
||||
prime_A : A ;
|
||||
equal_A2 : A2 ;
|
||||
greater_A2 : A2 ;
|
||||
smaller_A2 : A2 ;
|
||||
divisible_A2 : A2 ;
|
||||
number_N : N ;
|
||||
sum_N2 : N2 ;
|
||||
product_N2 : N2 ;
|
||||
gcd_N2 : N2 ;
|
||||
|
||||
noSg_Det : Det ;
|
||||
}
|
||||
Reference in New Issue
Block a user