view tests/plink.ur @ 1654:570636457047

Add arguments to [type] declarations and signature items
author Adam Chlipala <adam@chlipala.net>
date Mon, 02 Jan 2012 15:38:52 -0500
parents 71bafe66dbe1
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>