Mercurial > urweb
comparison tests/plink.lac @ 144:f0d3402184d1
Simple forms work
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Tue, 22 Jul 2008 15:12:20 -0400 |
parents | 6230bdd122e7 |
children |
comparison
equal
deleted
inserted
replaced
143:4b9c2bd6157c | 144:f0d3402184d1 |
---|---|
1 val pA = fn size => <html><body> | 1 val pA = fn size => <html><body> |
2 <font size={size}>Hello World!</font> | 2 <font size={size}>Hello World!</font> |
3 </body></html> | 3 </body></html> |
4 | 4 |
5 val main = fn () => <html><body> | 5 val main : unit -> page = fn () => <html><body> |
6 <li> <a link={pA 5}>Size 5</a></li> | 6 <li> <a link={pA 5}>Size 5</a></li> |
7 <li> <a link={pA 10}>Size 10</a></li> | 7 <li> <a link={pA 10}>Size 10</a></li> |
8 </body></html> | 8 </body></html> |