Mercurial > urweb
view tests/substring.ur @ 889:bcad392e288e
Tweaking demos a bit
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Fri, 17 Jul 2009 18:13:02 -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>