1
0
forked from GitHub/gf-rgl

added pot3as4 and potas5

This commit is contained in:
Krasimir Angelov
2025-08-29 08:33:35 +02:00
parent f546600fd2
commit 4644ef0229
3 changed files with 12 additions and 3 deletions
+4 -1
View File
@@ -4,7 +4,7 @@ concrete NumeralNor of Numeral = CatNor [Numeral,Digits,Decimal] ** open MorphoN
lincat
Digit = {s : DForm => CardOrd => Str} ;
Sub10 = {s : DForm => CardOrd => Str ; n : Number} ;
Sub100, Sub1000, Sub1000000 =
Sub100, Sub1000, Sub1000000, Sub1000000000, Sub1000000000000 =
{s : CardOrd => Str ; n : Number} ;
lin
@@ -44,6 +44,9 @@ lin
pot3plus n m =
{s = \\g => n.s ! invNum ++ "tusen" ++ "og" ++ m.s ! g ; n = Pl} ;
pot3as4 n = n ;
pot4as5 n = n ;
-- Numerals from sequences of digits.
lincat