view tests/plink.lac @ 123:e3041657d653

Parsing and elaborating (non-mutual) 'val rec'
author Adam Chlipala <adamc@hcoop.net>
date Thu, 17 Jul 2008 10:09:34 -0400
parents 6230bdd122e7
children f0d3402184d1
line wrap: on
line source
val pA = fn size => <html><body>
        <font size={size}>Hello World!</font>
</body></html>

val main = fn () => <html><body>
        <li> <a link={pA 5}>Size 5</a></li>
        <li> <a link={pA 10}>Size 10</a></li>
</body></html>