view tests/rec2.lac @ 212:ba4d7c33a45f

Testing type-class-parameterized functions
author Adam Chlipala <adamc@hcoop.net>
date Sat, 16 Aug 2008 14:36:17 -0400
parents 96bd3350e77d
children
line wrap: on
line source
val rec main = fn () => <html><body>
        <a link={aux ()}>See another page</a>
</body></html>

and aux = fn () => <html><body>
        <a link={main ()}>Back to square one</a>
</body></html>