mirror of
https://github.com/GrammaticalFramework/gf-rgl.git
synced 2026-06-26 03:26:27 -06:00
The new Decimal API
This commit is contained in:
@@ -137,6 +137,10 @@ concrete NounHun of Noun = CatHun ** open
|
||||
s = \\place => dig.s ! NCard ;
|
||||
} ;
|
||||
|
||||
NumDecimal dec = dec ** {
|
||||
s = \\place => dec.s ! NCard ;
|
||||
} ;
|
||||
|
||||
-- : Numeral -> Card ;
|
||||
NumNumeral num = num ;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user