forked from GitHub/gf-core
introducing multiple inheritance
This commit is contained in:
6
grammars/multiple/SystemMathEng.gf
Normal file
6
grammars/multiple/SystemMathEng.gf
Normal file
@@ -0,0 +1,6 @@
|
||||
concrete SystemMathEng of SystemMath = SystemEng, MathEng ** open
|
||||
Prelude in {
|
||||
lin
|
||||
RSum x y d =
|
||||
ss (["the sum of"] ++ x.s ++ "and" ++ y.s ++ "is" ++ d.s) ;
|
||||
} ;
|
||||
Reference in New Issue
Block a user