summaryrefslogtreecommitdiff
path: root/tests/ctuple.lac
blob: 68c1301f15669caf0dfe3693fbcd1b32bfb108c7 (plain)
1
2
3
4
5
6
7
8
9
val page = fn p :: (Type * Type) => fn f : p.1 -> string => fn x : p.1 => <html><body>
        {cdata (f x)}
</body></html>

val page_string = page [(string, int)] (fn x => x)

val main : unit -> page = fn () => <html><body>
        <a link={page_string "Hi"}>Hi</a>
</body></html>