1
0
forked from GitHub/gf-core

moved lib/next-resource to next-lib/src, to enable linking with next-lib as value of GF_LIB_PATH

This commit is contained in:
aarne
2008-09-22 11:49:15 +00:00
parent 4862018f14
commit 98665df78b
441 changed files with 125291 additions and 5 deletions

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 ;
}