view tests/char.ur @ 1287:5137b0537c92

Polymorphic variants
author Adam Chlipala <adam@chlipala.net>
date Thu, 19 Aug 2010 17:28:52 -0400
parents 395a5d450cc0
children
line wrap: on
line source
fun main () =
  case #"A" of
      #"B" => return <xml/>
    | _ => return <xml>A!</xml>