view tests/char.ur @ 1174:9df124fcab3d

String.isPrefix
author Adam Chlipala <adamc@hcoop.net>
date Tue, 02 Mar 2010 09:46:17 -0500
parents 395a5d450cc0
children
line wrap: on
line source
fun main () =
  case #"A" of
      #"B" => return <xml/>
    | _ => return <xml>A!</xml>