forked from GitHub/comp-syntax-gu-mlt
rename stuff + new ud lab draft
This commit is contained in:
16
labs1-2/wikipedia-2022/Countries.gf
Normal file
16
labs1-2/wikipedia-2022/Countries.gf
Normal 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 ;
|
||||
}
|
||||
Reference in New Issue
Block a user