mirror of
https://github.com/GrammaticalFramework/gf-rgl.git
synced 2026-06-27 03:46:29 -06:00
The new Decimal API
This commit is contained in:
+2
-1
@@ -80,6 +80,7 @@ concrete CatMay of Cat = CommonX - [IAdv] ** open ResMay, Prelude in {
|
||||
Card = ResMay.CardNum ;
|
||||
Numeral = ResMay.CardOrdNum ;
|
||||
Digits = ResMay.DigNum ;
|
||||
Decimal = ResMay.DigNum**{hasDot : Bool} ;
|
||||
|
||||
|
||||
|
||||
@@ -132,4 +133,4 @@ concrete CatMay of Cat = CommonX - [IAdv] ** open ResMay, Prelude in {
|
||||
-- Determiner : Type = Quant ** {
|
||||
-- pr : Str ; -- prefix for numbers
|
||||
-- n : NumType ; -- number as in 5 (noun in singular), Sg or Pl
|
||||
-- } ;
|
||||
-- } ;
|
||||
|
||||
Reference in New Issue
Block a user