mirror of
https://github.com/GrammaticalFramework/comp-syntax-gu-mlt.git
synced 2026-02-08 22:41:05 -07:00
17 lines
416 B
Plaintext
17 lines
416 B
Plaintext
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 ;
|
|
}
|