view tests/substring.ur @ 1962:16c219c74426

Fix a soundness bug in purity analysis (mono_reduce)
author Adam Chlipala <adam@chlipala.net>
date Sun, 19 Jan 2014 13:51:26 -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>