forked from GitHub/gf-core
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