mirror of
https://github.com/GrammaticalFramework/gf-rgl.git
synced 2026-07-01 11:38:34 -06:00
The new Decimal API
This commit is contained in:
@@ -116,6 +116,7 @@ lin
|
||||
|
||||
--NumDigits : Digits -> Card ; -- 51
|
||||
NumDigits dig = {s = dig.s!NCard ; n=dig.n};
|
||||
NumDecimal dec = {s = dec.s!NCard ; n=dec.n};
|
||||
--NumNumeral : Numeral -> Card ; -- fifty-one
|
||||
NumNumeral numeral = {s=numeral.s!NCard; n=numeral.n};
|
||||
--OrdDigits : Digits -> Ord ; -- 51st
|
||||
|
||||
Reference in New Issue
Block a user