view tests/substring.ur @ 2247:565da55a4e18

Fix NONE capitalization typo.
author Ziv Scully <ziv@mit.edu>
date Sun, 02 Aug 2015 18:37:24 -0700
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>