mirror of
https://github.com/GrammaticalFramework/gf-rgl.git
synced 2026-05-27 17:08:54 -06:00
(Hun) Remove unnecessary distinction between digits and numbers
This commit is contained in:
@@ -125,7 +125,7 @@ concrete NounHun of Noun = CatHun ** open
|
|||||||
-- : Digits -> Card ;
|
-- : Digits -> Card ;
|
||||||
NumDigits dig = dig ** {
|
NumDigits dig = dig ** {
|
||||||
s = \\place => dig.s ! NCard ;
|
s = \\place => dig.s ! NCard ;
|
||||||
numtype = IsDig ;
|
numtype = IsNum ;
|
||||||
} ;
|
} ;
|
||||||
|
|
||||||
-- : Numeral -> Card ;
|
-- : Numeral -> Card ;
|
||||||
|
|||||||
@@ -112,7 +112,7 @@ param
|
|||||||
|
|
||||||
CardOrd = NOrd | NCard ; -- Not used yet
|
CardOrd = NOrd | NCard ; -- Not used yet
|
||||||
|
|
||||||
NumType = NoNum | IsDig | IsNum ;
|
NumType = NoNum | IsNum ;
|
||||||
|
|
||||||
oper
|
oper
|
||||||
isNum : {numtype : NumType} -> Bool = \nt -> case nt.numtype of {
|
isNum : {numtype : NumType} -> Bool = \nt -> case nt.numtype of {
|
||||||
|
|||||||
Reference in New Issue
Block a user