gf-book web page index and toc

This commit is contained in:
aarne
2011-01-11 15:46:43 +00:00
parent fa54c29616
commit 9c3e74ee4a
110 changed files with 492 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
concrete CalculatorP of Calculator = open Prelude in {
lincat
Exp = SS ;
lin
EPlus = infix "+" ;
EMinus = infix "-" ;
ETimes = infix "*" ;
EDiv = infix "/" ;
EInt i = i ;
oper
infix : Str -> SS -> SS -> SS = \f,x,y ->
ss ("(" ++ x.s ++ f ++ y.s ++ ")") ;
}