mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-21 18:59:32 -06:00
introducing multiple inheritance
This commit is contained in:
6
grammars/multiple/UserMathEng.gf
Normal file
6
grammars/multiple/UserMathEng.gf
Normal file
@@ -0,0 +1,6 @@
|
||||
concrete UserMathEng of UserMath = UserEng, MathEng ** open Prelude in
|
||||
{
|
||||
lin
|
||||
QSum x y = ss (["what is the sum of"] ++ x.s ++ "and" ++ y.s) ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user