view tests/bool.ur @ 1092:6f4b05fc4361

Catch attempts to mention multiple versions of the same rooted module
author Adam Chlipala <adamc@hcoop.net>
date Fri, 25 Dec 2009 10:48:02 -0500
parents 71bafe66dbe1
children
line wrap: on
line source
val page = fn b => <html><body>
        {cdata (case b of False => "No!" | True => "Yes!")}
</body></html>

val main : unit -> page = fn () => <html><body>
        <li><a link={page True}>True</a></li>
        <li><a link={page False}>False</a></li>
</body></html>