Mercurial > urweb
view tests/substring.ur @ 1525:a479947efbcd
Improve detection of XML in urweb-mode; small tutorial improvement
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Tue, 02 Aug 2011 17:28:37 -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>