diff options
author | Adam Chlipala <adamc@hcoop.net> | 2008-07-13 20:25:25 -0400 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2008-07-13 20:25:25 -0400 |
commit | c8dc6a0ab0a9f64a6d5bd1bfae94f04dc941e26d (patch) | |
tree | d378bac9faab1a5465f82751c315e0c565100033 | |
parent | cf6caf0383daf8cb576edf5c1f0f736d2f4c85bd (diff) |
Three-argument web function test
-rw-r--r-- | tests/plink3.lac | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/plink3.lac b/tests/plink3.lac new file mode 100644 index 00000000..0ecd3ac9 --- /dev/null +++ b/tests/plink3.lac @@ -0,0 +1,10 @@ +val pA = fn size1 => fn size2 => fn size3 => <html><body> + <p><font size={size1}>Hello</font> <font size={size2}>World!</font></p> + + <p><font size={size3}>Epilogue</font></p> +</body></html> + +val main = fn () => <html><body> + <li> <a link={pA 5 10 1}>Size 5</a></li> + <li> <a link={pA 10 5 10}>Size 10</a></li> +</body></html> |