view tests/link.lac @ 239:fc6f04889bf2

Shorthand for multi-binding con 'fn'
author Adam Chlipala <adamc@hcoop.net>
date Thu, 28 Aug 2008 13:29:57 -0400
parents f0d3402184d1
children
line wrap: on
line source
val ancillary = fn () => <html>
        Welcome to the ancillary page!
</html>

val main : unit -> page = fn () => <html><body>
        <a link={ancillary ()}>Enter the unknown!</a>
</body></html>