view tests/substring.ur @ 1945:8b1692660dac

How embarrassing; didn't try compiling before committing
author Adam Chlipala <adam@chlipala.net>
date Sat, 28 Dec 2013 06:30:21 -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>