mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-07 18:22:50 -06:00
introducing multiple inheritance
This commit is contained in:
6
grammars/multiple/SystemCityEng.gf
Normal file
6
grammars/multiple/SystemCityEng.gf
Normal file
@@ -0,0 +1,6 @@
|
||||
concrete SystemCityEng of SystemCity = SystemEng, CityEng ** open
|
||||
Prelude in {
|
||||
lin
|
||||
RDistance x y d =
|
||||
ss (["the distance from"] ++ x.s ++ "to" ++ y.s ++ "is" ++ d.s) ;
|
||||
} ;
|
||||
Reference in New Issue
Block a user