mirror of
https://github.com/GrammaticalFramework/gf-rgl.git
synced 2026-10-28 02:03:18 -06:00
extended Numerals API. moved from the WordNet grammar
This commit is contained in:
1 parent
96f4543c4c
commit
b066fb4d35
29 files changed
+351
-69
No files matched your search
@@ -6,7 +6,9 @@ lincat
|
||||
Sub10,
|
||||
Sub100,
|
||||
Sub1000,
|
||||
Sub1000000 = ResKor.Numeral ;
|
||||
Sub1000000,
|
||||
Sub1000000000,
|
||||
Sub1000000000000 = ResKor.Numeral ;
|
||||
|
||||
lin
|
||||
-- : Sub1000000 -> Numeral ; -- 123456 [coercion to top category]
|
||||
@@ -84,6 +86,9 @@ lin
|
||||
-- : Sub1000 -> Sub1000 -> Sub1000000 ; -- m * 1000 + n
|
||||
pot3plus m n = TODO ;
|
||||
|
||||
pot3as4 x = x ;
|
||||
pot4as5 x = x ;
|
||||
|
||||
oper
|
||||
LinDigit : Type = ResKor.Numeral ** {isTwo : Bool ; ten : Str} ;
|
||||
|
||||
|
||||
Reference in new issue
Block a user