view tests/rec3.ur @ 2189:43393a4a66ce

JavaScript versions of a few more functions
author Adam Chlipala <adam@chlipala.net>
date Sun, 01 Nov 2015 14:17:09 -0500
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>
        <h1>The Main Event</h1>

        {auxer ()}
</body></html>

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