view tests/substring.ur @ 1440:6064ddd90ca6

Fix C compilation of empty records; use DESTDIR in 'make install/uninstall'
author Adam Chlipala <adam@chlipala.net>
date Sun, 20 Mar 2011 13:15:11 -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>