summaryrefslogtreecommitdiff
path: root/examples/numerals/stieng.gf
diff options
context:
space:
mode:
Diffstat (limited to 'examples/numerals/stieng.gf')
-rw-r--r--examples/numerals/stieng.gf2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/numerals/stieng.gf b/examples/numerals/stieng.gf
index 549e9bd3f..f03e6a0f6 100644
--- a/examples/numerals/stieng.gf
+++ b/examples/numerals/stieng.gf
@@ -4,10 +4,12 @@ param Size = sg | belowten | moreten ;
oper LinDigit = {s : Str ; size : Size} ;
+lincat Numeral = { s : Str } ;
lincat Digit = LinDigit ;
lincat Sub10 = LinDigit ;
lincat Sub100 = {s : Str ; s2 : Str ; size : Size} ;
lincat Sub1000 = {s : Str ; s2 : Str ; size : Size} ;
+lincat Sub1000000 = { s : Str } ;
oper mkNum : Str -> LinDigit = \u -> {s = u ; size = belowten} ;