view tests/char.ur @ 974:b851675a2c3d

Compiled an 'option' pattern-match
author Adam Chlipala <adamc@hcoop.net>
date Tue, 22 Sep 2009 14:15:29 -0400
parents 395a5d450cc0
children
line wrap: on
line source
fun main () =
  case #"A" of
      #"B" => return <xml/>
    | _ => return <xml>A!</xml>