view tests/char.ur @ 1500:483cc0602565

Finish tutorial section about common ML/Haskell features
author Adam Chlipala <adam@chlipala.net>
date Fri, 15 Jul 2011 19:21:09 -0400
parents 395a5d450cc0
children
line wrap: on
line source
fun main () =
  case #"A" of
      #"B" => return <xml/>
    | _ => return <xml>A!</xml>