view tests/substring.ur @ 1902:1809eb33ef14

Switch back to working version mode
author Adam Chlipala <adam@chlipala.net>
date Thu, 21 Nov 2013 15:39:45 -0500
parents 20fe00fd81da
children
line wrap: on
line source
fun main () : transaction page = return <xml>
  {[case String.split "abc{" #"{" of
        None => "!"
      | Some (pre, post) => pre ^ post]}
</xml>