summaryrefslogtreecommitdiff
path: root/examples/tutorial/semantics/LexBase.gf
diff options
context:
space:
mode:
Diffstat (limited to 'examples/tutorial/semantics/LexBase.gf')
-rw-r--r--examples/tutorial/semantics/LexBase.gf17
1 files changed, 17 insertions, 0 deletions
diff --git a/examples/tutorial/semantics/LexBase.gf b/examples/tutorial/semantics/LexBase.gf
new file mode 100644
index 000000000..74c491b9f
--- /dev/null
+++ b/examples/tutorial/semantics/LexBase.gf
@@ -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 ;
+}