view tests/toString.ur @ 906:c270fb847dc2

Be careful in Jscomp to avoid interpreting non-boolean/reference types as booleans with ?:
author Adam Chlipala <adamc@hcoop.net>
date Tue, 11 Aug 2009 11:26:37 -0400
parents df00701f2323
children
line wrap: on
line source
fun main () : transaction page = return <html><body>
        6 = {cdata (show _ 6)}<br/>
        12.34 = {cdata (show _ 12.34)}<br/>
        Hi = {cdata (show _ "Hi")}<br/>
        False = {cdata (show _ False)}<br/>
</body></html>