view tests/substring.ur @ 1541:94ef0b07066a

Fix bug in JavaScript embedding of lists
author Adam Chlipala <adam@chlipala.net>
date Mon, 15 Aug 2011 12:33:28 -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>