comparison tests/polyjs.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
children
comparison
equal deleted inserted replaced
1835:a8b273f1f7e3 1836:276fa06428ba
1 open PolyjsFfi
2
3 fun main () : transaction page = return <xml><body>
4 <button onclick={fn _ => alert (one "hi" ^ two "bye")}/>
5 </body></xml>