Mercurial > urweb
view tests/parseInt.ur @ 2243:da7d026d1a94
Fix possible formula simplification bug with extra formula' type.
author | Ziv Scully <ziv@mit.edu> |
---|---|
date | Mon, 20 Jul 2015 19:49:13 -0700 |
parents | 4798ad652c94 |
children |
line wrap: on
line source
fun main () : transaction page = s <- source ""; return <xml><body> <ctextbox source={s}/> <button onclick={n <- get s; case read n of None => alert "Invalid" | Some n => alert (show (n + 1))}/> </body></xml>