start files for lab2

This commit is contained in:
Aarne Ranta
2025-05-04 09:38:01 +02:00
parent 31239a3d63
commit 0671eee0ba
26 changed files with 636 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
abstract Countries = Facts, CountryNames ** {
fun
-- using CNames
cName : CName -> Name ;
-- basic properties
capital_Attribute : Attribute ;
area_Attribute : Attribute ;
population_Attribute : Attribute ;
continent_Attribute : Attribute ;
currency_Attribute : Attribute ;
-- specialized expressions for properties
populationFact : CName -> Int -> Fact ;
continentFact : CName -> CName -> Fact ;
}