1
0
forked from GitHub/gf-rgl

prelude sources to lib/src; present in StructuralEng; refactored checkGFCC

This commit is contained in:
aarne
2007-12-13 10:12:00 +00:00
parent f26a5dbcf5
commit 54d6dd30cc
11 changed files with 25 additions and 6 deletions
+8
View File
@@ -0,0 +1,8 @@
resource HTML = open Prelude in {
oper
tag : Str -> Str = \t -> "<" + t + ">" ;
endtag : Str -> Str = \t -> tag ("/" + t) ;
intag : Str -> Str -> Str = \t,s -> tag t ++ s ++ endtag t ;
intagAttr : Str -> Str -> Str -> Str =
\t,a,s -> ("<" + t) ++ (a + ">") ++ s ++ endtag t ;
}