summaryrefslogtreecommitdiff
path: root/grammars/multiple/SystemMathEng.gf
diff options
context:
space:
mode:
authoraarne <unknown>2004-09-15 14:36:27 +0000
committeraarne <unknown>2004-09-15 14:36:27 +0000
commita25ee154e760a424ef4aef46a6e3d6fdf1079cf1 (patch)
tree50315c6fe03325fca09e1a922172de111faa7639 /grammars/multiple/SystemMathEng.gf
parent7697b222d0b7053e4b955a6ab9ba2ad0d6c9c512 (diff)
introducing multiple inheritance
Diffstat (limited to 'grammars/multiple/SystemMathEng.gf')
-rw-r--r--grammars/multiple/SystemMathEng.gf6
1 files changed, 6 insertions, 0 deletions
diff --git a/grammars/multiple/SystemMathEng.gf b/grammars/multiple/SystemMathEng.gf
new file mode 100644
index 000000000..11aca7952
--- /dev/null
+++ b/grammars/multiple/SystemMathEng.gf
@@ -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) ;
+} ;