Mercurial > urweb
view tests/plink.lac @ 147:eb16f2aadbe9
Meta-programming forms
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Tue, 22 Jul 2008 18:46:04 -0400 |
parents | f0d3402184d1 |
children |
line wrap: on
line source
val pA = fn size => <html><body> <font size={size}>Hello World!</font> </body></html> val main : unit -> page = fn () => <html><body> <li> <a link={pA 5}>Size 5</a></li> <li> <a link={pA 10}>Size 10</a></li> </body></html>