mirror of
https://github.com/GrammaticalFramework/gf-rgl.git
synced 2026-07-01 03:28:34 -06:00
The new Decimal API
This commit is contained in:
@@ -58,7 +58,15 @@ concrete NounSlv of Noun = CatSlv ** open ResSlv,Prelude in {
|
||||
|
||||
NumCard n = n ;
|
||||
|
||||
NumNumeral numeral = {s = numeral.s; n = numeral.n} ;
|
||||
NumNumeral numeral = numeral ;
|
||||
NumDigits digits = {
|
||||
s = \\g,c => digits.s;
|
||||
n = digits.n
|
||||
} ;
|
||||
NumDecimal decimal = {
|
||||
s = \\g,c => decimal.s;
|
||||
n = decimal.n
|
||||
} ;
|
||||
|
||||
DefArt = {
|
||||
s = \\_,_,_ => "" ;
|
||||
|
||||
Reference in New Issue
Block a user