Mercurial > urweb
annotate tests/plink.lac @ 122:f7c6ceb87bbd
Three-argument web function test
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Sun, 13 Jul 2008 20:25:25 -0400 |
parents | 6230bdd122e7 |
children | f0d3402184d1 |
rev | line source |
---|---|
adamc@120 | 1 val pA = fn size => <html><body> |
adamc@120 | 2 <font size={size}>Hello World!</font> |
adamc@120 | 3 </body></html> |
adamc@120 | 4 |
adamc@120 | 5 val main = fn () => <html><body> |
adamc@120 | 6 <li> <a link={pA 5}>Size 5</a></li> |
adamc@120 | 7 <li> <a link={pA 10}>Size 10</a></li> |
adamc@120 | 8 </body></html> |