annotate tests/strcspn.ur @ 2257:28a541bd2d23

Use referenced (rather than all) free variables as keys for pure caches.
author Ziv Scully <ziv@mit.edu>
date Sun, 27 Sep 2015 14:46:12 -0400
parents 446e73902b09
children
rev   line source
adam@1793 1 fun main () : transaction page =
adam@1793 2 s <- source "";
adam@1793 3 return <xml><body>
adam@1793 4 <ctextbox source={s}/>
adam@1793 5 <button onclick={fn _ => v <- get s; alert (show (strcspn v "0123456789"))}/>
adam@1793 6 </body></xml>