view tests/toString.ur @ 1836:276fa06428ba

Ignore polymorphism in JavaScript calls to custom FFI functions, allowing a kind of simple dynamic typing (unsafe, of course)
author Adam Chlipala <adam@chlipala.net>
date Tue, 11 Dec 2012 15:58:23 -0500
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>