(Kor) Add comparatives and superlatives

This commit is contained in:
Inari Listenmaa
2020-04-03 18:04:34 +02:00
parent a4ad8964bc
commit 8b62ad1fa7
5 changed files with 13 additions and 11 deletions
+4 -2
View File
@@ -1,7 +1,7 @@
--# -path=.:../abstract:../common:../prelude
concrete SymbolKor of Symbol = CatKor **
open Prelude, ResKor, (NK=NounKor) in {
open Prelude, ResKor, (NK=NounKor), (VK=VerbKor) in {
lin
@@ -45,7 +45,9 @@ lin
SymbNum sy = baseNum ** {s = \\_,_ => sy.s} ;
-- : Symb -> Ord ;
SymbOrd sy = sy ** {n=Pl} ;
SymbOrd sy =
let comp : Comp = VK.CompAdv (lin Adv sy)
in {s = comp.s ; n=Pl} ;
lincat
Symb, [Symb] = SS ;