diff options
Diffstat (limited to 'tests/plink2.ur')
-rw-r--r-- | tests/plink2.ur | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/plink2.ur b/tests/plink2.ur new file mode 100644 index 00000000..e446515e --- /dev/null +++ b/tests/plink2.ur @@ -0,0 +1,8 @@ +val pA : int -> int -> page = fn size1 => fn size2 => <html><body> + <font size={size1}>Hello</font> <font size={size2}>World!</font> +</body></html> + +val main : unit -> page = fn () => <html><body> + <li> <a link={pA 5 10}>Size 5</a></li> + <li> <a link={pA 10 5}>Size 10</a></li> +</body></html> |