The new Decimal API

This commit is contained in:
Krasimir Angelov committed 2023-08-21 20:14:26 +02:00
1 parent 58da8deca8
commit fb398c603e
147 files changed
+918 -188

No files matched your search

+1
View File
@@ -249,6 +249,7 @@ concrete NounLit of Noun = CatLit ** open ResLit, Prelude, MorphoLit, Predef in
-- NumDigits : Digits -> Card ; -- 51
NumDigits n = { s=\\_,_ => n.s; numAgr=n.numAgr; nb=n.nb };
NumDecimal n = { s=\\_,_ => n.s; numAgr=n.numAgr; nb=n.nb };
-- NumCard : Card -> Num ;
NumCard c = c ** { hasCard = True };