Mercurial > urweb
view tests/substring.ur @ 1279:4c367c8f5b2d
List.mapi
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Sun, 13 Jun 2010 14:13:47 -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>