view tests/substring.ur @ 981:27a3412d23e4

Fix sel() generation bug
author Adam Chlipala <adamc@hcoop.net>
date Thu, 24 Sep 2009 12:26:30 -0400
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>