view tests/substring.ur @ 1154:b0d632cc9edf

More fixes for NetBSD support
author Adam Chlipala <adamc@hcoop.net>
date Sat, 06 Feb 2010 20:47:23 -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>