Mercurial > urweb
view tests/strcspn.ur @ 1947:619191c71abb
Compile-time error for periodic tasks in nonpersistent protocols
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Sun, 29 Dec 2013 13:18:50 -0500 |
parents | 446e73902b09 |
children |
line wrap: on
line source
fun main () : transaction page = s <- source ""; return <xml><body> <ctextbox source={s}/> <button onclick={fn _ => v <- get s; alert (show (strcspn v "0123456789"))}/> </body></xml>