Mercurial > urweb
view tests/substring.ur @ 1979:81bc76aa4acd
Merge in upstream changes.
author | Patrick Hurst <phurst@mit.edu> |
---|---|
date | Sat, 18 Jan 2014 18:26:24 -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>