view tests/substring.ur @ 1442:204ca664b5d6

A Gentoo .ebuild file, based mostly on a contribution by moreilcon
author Adam Chlipala <adam@chlipala.net>
date Sat, 26 Mar 2011 13:43:47 -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>