view tests/rec2.ur @ 1513:5616b2cbdcdb

Tutorial: hyperlinks for metaprogramming and row types
author Adam Chlipala <adam@chlipala.net>
date Wed, 20 Jul 2011 08:14:49 -0400
parents 71bafe66dbe1
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>