view tests/substring.ur @ 1975:0ee44375fe64

Rename datetime type to t in the .urs file.
author Patrick Hurst <phurst@mit.edu>
date Sun, 08 Dec 2013 03:25:31 -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>