mirror of
https://github.com/GrammaticalFramework/gf-rgl.git
synced 2026-06-28 20:36:29 -06:00
(May) Form Det with numerals (NumCard, NumDigits etc.)
This commit is contained in:
@@ -104,13 +104,17 @@ param
|
||||
|
||||
CardOrd = NOrd | NCard ;
|
||||
|
||||
-- TODO see if this is needed
|
||||
NumType = NoNum | IsDigit | IsNumber ;
|
||||
NumType = NoNum Number | IsNumber ;
|
||||
|
||||
oper
|
||||
isNum : NumType -> Bool = \nt -> case nt of {
|
||||
NoNum => False ;
|
||||
_ => True
|
||||
NoNum _ => False ;
|
||||
_ => True
|
||||
} ;
|
||||
|
||||
toNum : NumType -> Number = \nt -> case nt of {
|
||||
NoNum n => n ;
|
||||
_ => Sg
|
||||
} ;
|
||||
--------------------------------------------------------------------------------
|
||||
-- Adjectives
|
||||
|
||||
Reference in New Issue
Block a user