new tutorial example

This commit is contained in:
aarne
2005-12-18 21:26:21 +00:00
parent e4314a739d
commit de6b09f650
34 changed files with 940 additions and 668 deletions

View File

@@ -0,0 +1,10 @@
resource StringOper = {
oper
SS : Type = {s : Str} ;
ss : Str -> SS = \x -> {s = x} ;
cc : SS -> SS -> SS = \x,y -> ss (x.s ++ y.s) ;
prefix : Str -> SS -> SS = \p,x -> ss (p ++ x.s) ;
}