Mercurial > urweb
view tests/char.ur @ 918:6a77c3e33908
Use cdata for shorter Monad map
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Tue, 08 Sep 2009 11:02:53 -0400 |
parents | 395a5d450cc0 |
children |
line wrap: on
line source
fun main () = case #"A" of #"B" => return <xml/> | _ => return <xml>A!</xml>