diff options
Diffstat (limited to 'examples/numerals/zaiwa.gf')
| -rw-r--r-- | examples/numerals/zaiwa.gf | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/numerals/zaiwa.gf b/examples/numerals/zaiwa.gf index 005a7038f..e40645175 100644 --- a/examples/numerals/zaiwa.gf +++ b/examples/numerals/zaiwa.gf @@ -4,10 +4,12 @@ param Size = sg | sub10 | pl ; 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 = sub10} ; |
