mirror of
https://github.com/GrammaticalFramework/gf-rgl.git
synced 2026-05-28 01:18:57 -06:00
minimal extensions to Numeral
This commit is contained in:
@@ -7,7 +7,8 @@ concrete NumeralIce of Numeral = CatIce [Numeral,Digits,Decimal] ** open Prelude
|
|||||||
lincat
|
lincat
|
||||||
Digit = {s : DForm => CardOrd => Str} ;
|
Digit = {s : DForm => CardOrd => Str} ;
|
||||||
Sub10 = {s : DForm => CardOrd => Str ; size : Size} ;
|
Sub10 = {s : DForm => CardOrd => Str ; size : Size} ;
|
||||||
Sub100, Sub1000, Sub1000000 = {s : CardOrd => Str ; size : Size} ;
|
Sub100, Sub1000, Sub1000000, Sub1000000000, Sub1000000000000 =
|
||||||
|
{s : CardOrd => Str ; size : Size} ;
|
||||||
|
|
||||||
lin
|
lin
|
||||||
num x = {
|
num x = {
|
||||||
@@ -117,6 +118,9 @@ concrete NumeralIce of Numeral = CatIce [Numeral,Digits,Decimal] ** open Prelude
|
|||||||
} ;
|
} ;
|
||||||
size = pl
|
size = pl
|
||||||
} ;
|
} ;
|
||||||
|
pot3as4 n = n ;
|
||||||
|
|
||||||
|
pot4as5 n = n ;
|
||||||
|
|
||||||
oper
|
oper
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user