The new Decimal API

This commit is contained in:
Krasimir Angelov
2023-08-21 20:14:26 +02:00
parent 58da8deca8
commit fb398c603e
147 changed files with 918 additions and 188 deletions
+9 -1
View File
@@ -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 = \\_,_,_ => "" ;