Mercurial > urweb
view tests/substring.ur @ 1199:c316ca3c9ec6
Pushing policies through
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Sun, 04 Apr 2010 12:29:34 -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>