view tests/link.lac @ 241:052126db06e7

Shorthand for multi-binding exp 'fn'
author Adam Chlipala <adamc@hcoop.net>
date Thu, 28 Aug 2008 13:57:12 -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>