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